I created a virtual meter HTTP input in my cFos Power Brain wallbox and would like to feed it with values from my T211 P1-Smartmeter. They are already in Domoticz on a Raspberry Pi. If I send the following command via terminal the values appear in the virtual meter:
curl -i -X POST -H 'Content-Type: application/json' -d '{ "model": "HTTP input", "import_wh": 12345, "export_wh": 23456, "voltage": [231, 232, 233], "current": [10001, 10002, 10003], "power_va": 2000 }' --user admin:1234abcd 'http://<IP address>/cnf?cmd=set_ajax_meter&dev_id=M4'
How can I do it in Domoticz?
Pass energy values to a virtual meter in cFos Wallbox
Moderators: leecollings, remb0
- waltervl
- Posts: 5907
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Pass energy values to a virtual meter in cFos Wallbox
You can use DzVents for this with function openURL. See for more info wiki page https://www.domoticz.com/wiki/DzVents:_ ... P_requests
Here is an example of sending a json with counter data from Domoticz to a gas monitoring tool viewtopic.php?p=291657#p291657
Here is an example of sending a json with counter data from Domoticz to a gas monitoring tool viewtopic.php?p=291657#p291657
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest