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
d85e01ca16
fix: refactor MQTT topic generation and enhance variable classification logic
2026-04-16 15:41:39 +02:00
jhartworks
9702a88cb3
fix: enhance variable naming logic and update build number in library.json
2026-04-16 15:21:30 +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
1e182e8d80
refactor CounterClient module: update timer callback to use InstanceID and clean up form.json by removing unused status codes
2026-04-16 13:08:52 +02:00
jhartworks
23c9b03a27
fix MQTT topic format in CounterClient module
2026-04-16 13:08:42 +02:00
jhartworks
ca59d8b15b
update MQTT topic format in CounterClient module
2026-04-16 12:32:38 +02:00
jhartworks
2f2a0512b3
add Project configuration options and MQTT publishing functionality
2026-04-16 12:25:35 +02:00
jhartworks
4363fd47a5
remove CounterTable and CounterClient modules; add CounterServer and update library version
2026-04-15 14:52:48 +02:00
jhartworks
ebe6991832
fix
2025-01-31 14:27:12 +01:00
jhartworks
2926baf133
fix
2025-01-31 14:17:46 +01:00
jhartworks
b8b48d7834
fix
2025-01-31 14:14:50 +01:00
jhartworks
b644fed762
fix
2025-01-31 14:14:38 +01:00
jhartworks
6bea4f8344
fix
2025-01-31 14:02:04 +01:00
jhartworks
da7d3ce4a0
fix
2025-01-31 13:58:56 +01:00
jhartworks
fa6a29bc1d
fix
2025-01-31 13:58:41 +01:00
jhartworks
a284b23ce5
fix
2025-01-31 13:54:39 +01:00
jhartworks
949c574f96
fix
2025-01-31 13:49:55 +01:00
jhartworks
038f7e1f05
fix
2025-01-31 13:46:27 +01:00
jhartworks
06a0e373bf
initial
2025-01-31 13:34:41 +01:00