jhartworks
ffab78281a
Refactor CounterClient to CounterServer with improved payload handling and measurement storage
...
- Renamed class from CounterClient to CounterServer for clarity.
- Updated properties to include Connector and SourceJSON.
- Removed MQTT-related properties and methods.
- Implemented checkTable method to handle JSON input and database operations.
- Added logic for inserting/updating meter devices and measurements in the database.
- Simplified unit handling and removed unused methods.
- Enhanced logging for better debugging and error tracking.
2026-04-16 16:06:53 +02:00
jhartworks
75d9e77126
fix: refactor MQTT handling and improve counter data extraction logic in CounterClient
2026-04-16 16:03:34 +02:00
jhartworks
ce5292fe17
fix: enhance variable context handling and improve unit extraction logic in ClassifyEntry method
2026-04-16 15:54:34 +02:00
jhartworks
3c3ad7efc1
fix: refactor CounterServer to CounterClient and update property registrations for improved functionality
2026-04-16 15:49:14 +02:00
jhartworks
82f2fdc54c
fix: update timer registration to use correct function call and increment build number
2026-04-16 14:25:00 +02:00
jhartworks
89ec935d04
fix: remove ProjectIdPortal field from form configuration
2026-04-16 14:20:10 +02:00
jhartworks
cdcff3ba1d
fix: change Projectname field type to ValidationTextBox for improved validation
2026-04-16 14:19:29 +02:00
jhartworks
16cf2c8468
fix: add Projectname and ProjectIdPortal properties to module and form configuration
2026-04-16 14:18:27 +02:00
jhartworks
ae77a3901e
fix: correct SQL insert statement for projectId by fixing string concatenation
2026-04-16 14:04:36 +02:00
jhartworks
71c02b2973
fix: remove redundant clientId variable in SQL insert statement and use SHA-256 hash for security
2026-04-16 14:02:59 +02:00
jhartworks
536c81ab47
fix: replace base64 encoding with SHA-256 hashing for projectId and clientId in SQL queries
2026-04-16 14:02:13 +02:00
jhartworks
9012d4a8e2
fix: replace custom base64_encode function with native PHP base64_encode in SQL queries
2026-04-16 14:00:29 +02:00
jhartworks
9dc6618d23
fix: correct base64 encoding usage for projectId and clientId in SQL queries
2026-04-16 13:59:51 +02:00
jhartworks
e57b4e89b5
fix: update ProjectIdPortal handling in CounterServer module; increment version to 1.1 and reset build number in library.json
2026-04-16 13:57:10 +02:00
jhartworks
1197702121
fix: update ProjectIdPortal default value to -1 and adjust SQL insert statement; increment build number in library.json
2026-04-16 13:47:41 +02:00
jhartworks
951fcd3a58
fix: rename ClientIdPortal to ProjectIdPortal in CounterServer module; increment build number in library.json
2026-04-16 13:41:44 +02:00
jhartworks
faa8b759a8
fix: rename ClientIdPortal to ProjectIdPortal in form.json and module.php; update build number in library.json
2026-04-16 13:41:00 +02:00
jhartworks
0723a2d33f
feat: add ClientIdPortal property to CounterServer module and form.json
2026-04-16 13:40:00 +02:00
jhartworks
3df0f898db
fix: update SQL insert statement in CounterServer module and increment build number in library.json
2026-04-16 13:36:07 +02:00
jhartworks
24f25f17eb
fix: update SQL insert statement to include external_name and correct build number in library.json
2026-04-16 13:24:18 +02:00
jhartworks
fccdeaa3b9
fix: update meterId assignment to use object property access
2026-04-16 13:16:39 +02:00
jhartworks
4363fd47a5
remove CounterTable and CounterClient modules; add CounterServer and update library version
2026-04-15 14:52:48 +02:00