The device is showing up as General kWh, Electricity (instant and counter), these device needs two value's instant and counter, how do i get the instant value into the device? The value instant W is available.
{
"device": {
"identifiers": [
"xxxxxxx"
],
"manufacturer": "APsystems",
"model ...
Search found 70 matches
- Sunday 26 October 2025 9:49
- Forum: MQTT Auto Discovery
- Topic: MQTT autodiscovery
- Replies: 12
- Views: 308
- Friday 24 October 2025 21:47
- Forum: MQTT Auto Discovery
- Topic: MQTT autodiscovery
- Replies: 12
- Views: 308
Re: MQTT autodiscovery
Oops, my reading skills are not the best! You were right—I've switched it to 'Wh' and voilà, the values are finally behaving. Thanks again!" 
- Friday 24 October 2025 21:27
- Forum: MQTT Auto Discovery
- Topic: MQTT autodiscovery
- Replies: 12
- Views: 308
Re: MQTT autodiscovery
I’ll have a closer look at it tomorrow, but this is how Domoticz is receiving the values.
These are day value's, this must be 0,474kWh 0,816kWh and 0,937kWh
These are day value's, this must be 0,474kWh 0,816kWh and 0,937kWh
- Friday 24 October 2025 20:37
- Forum: MQTT Auto Discovery
- Topic: MQTT autodiscovery
- Replies: 12
- Views: 308
Re: MQTT autodiscovery
Tanks, I've changed the pv2mqtt.py and rebuild the container, the value is now send to Domoticz, I've only contvert it from Wh to kWh, so this can be done with DzVents.
- Friday 24 October 2025 18:15
- Forum: MQTT Auto Discovery
- Topic: MQTT autodiscovery
- Replies: 12
- Views: 308
Re: MQTT autodiscovery
I can't change the template, so this has to be done with node red or are there other solutions?
- Friday 24 October 2025 17:52
- Forum: MQTT Auto Discovery
- Topic: MQTT autodiscovery
- Replies: 12
- Views: 308
MQTT autodiscovery
I’m using pv2mqtt to read out my APsystems solar panels via MQTT autodiscovery. The output is shown below. I receive all values in Domoticz except for the Wh value.
I don't know why the Wh value isn’t showing up in Domoticz an how can I fix this?
{
"device": {
"identifiers": [
"xxxxxxxx ...
I don't know why the Wh value isn’t showing up in Domoticz an how can I fix this?
{
"device": {
"identifiers": [
"xxxxxxxx ...
- Thursday 23 October 2025 21:31
- Forum: dzVents
- Topic: runIn function dzVents [Solved]
- Replies: 7
- Views: 135
Re: runIn function dzVents [Solved]
I've this device, Girier Model JR-ZDS01 https://www.zigbee2mqtt.io/devices/JR-Z ... r-jr-zds01, together with Zigbee2MQTT running inside a Docker container.
- Wednesday 22 October 2025 22:47
- Forum: dzVents
- Topic: runIn function dzVents [Solved]
- Replies: 7
- Views: 135
Re: runIn function dzVents [Solved]
Thanks for your answer, my cheap Zigbee device only has one function
. I guess I’ll have to spend more money to get a better one.
- Wednesday 22 October 2025 22:18
- Forum: dzVents
- Topic: Switch does not switch
- Replies: 10
- Views: 164
Re: Switch does not switch
local lampBalcony = dz.devices(123)
- Wednesday 22 October 2025 22:08
- Forum: dzVents
- Topic: runIn function dzVents [Solved]
- Replies: 7
- Views: 135
Re: runIn function dzVents [Solved]
"Okay, thanks. I mentioned it to the AI. AI is perfect at inventing things that don’t exist. And now it’s saying that it’s a non-existent function. :D
"But my problem is still there. I need a function so that when I switch on my lamp, it automatically turns off after 60 seconds. If I press the ...
"But my problem is still there. I need a function so that when I switch on my lamp, it automatically turns off after 60 seconds. If I press the ...
- Wednesday 22 October 2025 21:45
- Forum: dzVents
- Topic: runIn function dzVents [Solved]
- Replies: 7
- Views: 135
runIn function dzVents [Solved]
I write my scripts with the help of AI. The AI suggested using the dz.runIn function. I searched the Domoticz wiki, but I couldn’t find any information about this function. Is this an actual function in dzVents, or is it a non-existent function?
I'am using Domoticz 2025.1 dzVents Version: 3.1.8 ...
I'am using Domoticz 2025.1 dzVents Version: 3.1.8 ...
- Wednesday 25 June 2025 10:48
- Forum: Temperature and Weather
- Topic: Netatmo authentication changes Oct 2022
- Replies: 411
- Views: 82195
Re: Netatmo authentication changes Oct 2022
I've updated to Version: 2025.1
Netamo works well, but after a several days domoticz is crashing.
What could be the cause of this, or better how can I solve this issue :D
Thread 40 (Thread 0x60fe9200 (LWP 20719) "Netatmo Weersta"):
#0 0x7691f034 in __GI___wait4 (pid=25931, stat_loc=0x60fe7bb8 ...
Netamo works well, but after a several days domoticz is crashing.
What could be the cause of this, or better how can I solve this issue :D
Thread 40 (Thread 0x60fe9200 (LWP 20719) "Netatmo Weersta"):
#0 0x7691f034 in __GI___wait4 (pid=25931, stat_loc=0x60fe7bb8 ...
- Sunday 11 June 2023 20:39
- Forum: dzVents
- Topic: dzVents Reboot Raspberry Pi
- Replies: 5
- Views: 668
Re: dzVents Reboot Raspberry Pi
Yes Domoticz Port is on 8181 :D
I get the same error with the dz.openURL command.
dz.openURL("http://192.168.1.15:8181/json.htm?type=command¶m=system_reboot")
2023-06-11 20:37:00.447 Error: Error opening url: http://192.168.1.15:8181/json.htm?type=command¶m=system_reboot
I get the same error with the dz.openURL command.
dz.openURL("http://192.168.1.15:8181/json.htm?type=command¶m=system_reboot")
2023-06-11 20:37:00.447 Error: Error opening url: http://192.168.1.15:8181/json.htm?type=command¶m=system_reboot
- Sunday 11 June 2023 15:14
- Forum: dzVents
- Topic: dzVents Reboot Raspberry Pi
- Replies: 5
- Views: 668
dzVents Reboot Raspberry Pi
Hi,
My raspberry has memory leakage, so I want to reboot my raspberry pi if the memory exceeds the 80%, is this possible with dzVents?
I tried this, but this is not working.
if memory.percentage > 80 then
dz.openURL(
{
url = "http://192.168.1.15:8181/json.htm?type=command¶m=system ...
My raspberry has memory leakage, so I want to reboot my raspberry pi if the memory exceeds the 80%, is this possible with dzVents?
I tried this, but this is not working.
if memory.percentage > 80 then
dz.openURL(
{
url = "http://192.168.1.15:8181/json.htm?type=command¶m=system ...
- Saturday 04 March 2023 22:59
- Forum: Others
- Topic: Controllable mechanical ventilation
- Replies: 8
- Views: 2370
- Monday 20 February 2023 19:42
- Forum: dzVents
- Topic: Compute Humidity [Solved]
- Replies: 6
- Views: 1421
Re: Compute Humidity [Solved]
No I did't try that :oops:
Thank you, that did the trick :D
function humidityStatus (temperature, humidity)
local temperature = tonumber(temperature)
local humidity = tonumber(humidity)
local dz = dz or domoticz
if humidity <= 30 then return dz.HUM_DRY
elseif humidity >= 70 then return dz ...
Thank you, that did the trick :D
function humidityStatus (temperature, humidity)
local temperature = tonumber(temperature)
local humidity = tonumber(humidity)
local dz = dz or domoticz
if humidity <= 30 then return dz.HUM_DRY
elseif humidity >= 70 then return dz ...
- Monday 20 February 2023 16:11
- Forum: dzVents
- Topic: Compute Humidity [Solved]
- Replies: 6
- Views: 1421
Re: Compute Humidity [Solved]
The problem is that I don't know how to use the return state of the function, how can i use the return state to update my sensor?
Now i'm use this code to determine the status,
if humidity < 30 then
hum_stat = 2
elseif humidity >= 30 and humidity < 45 then
hum_stat = 0
elseif humidity >= 45 ...
Now i'm use this code to determine the status,
if humidity < 30 then
hum_stat = 2
elseif humidity >= 30 and humidity < 45 then
hum_stat = 0
elseif humidity >= 45 ...
- Monday 20 February 2023 13:24
- Forum: dzVents
- Topic: Compute Humidity [Solved]
- Replies: 6
- Views: 1421
Re: Compute Humidity [Solved]
Maybe a stupid question, but how do I get the humidity status from the function humidityStatus into the device?
function humidityStatus (temperature, humidity)
local temperature = tonumber(temperature)
local humidity = tonumber(humidity)
local dz = dz or domoticz
if humidity <= 30 then return ...
function humidityStatus (temperature, humidity)
local temperature = tonumber(temperature)
local humidity = tonumber(humidity)
local dz = dz or domoticz
if humidity <= 30 then return ...
- Monday 20 February 2023 10:13
- Forum: dzVents
- Topic: Extract value from http response [Solved]
- Replies: 16
- Views: 4484
Re: Extract value from http response [Solved]
The issue is solved with help of topic https://domoticz.com/forum/viewtopic.php?t=26021.
I have to declare the local co2 on this way, I'don't know exactly why, but it's working now
I have to declare the local co2 on this way, I'don't know exactly why, but it's working now
Code: Select all
local co2 = (ithostatus["highest-received-co2-value_ppm"])- Sunday 19 February 2023 21:31
- Forum: dzVents
- Topic: Extract value from http response [Solved]
- Replies: 16
- Views: 4484
Re: Extract value from http response [Solved]
I'am still stuck, when i try the variable ithostatus.balance_perc i get no error, and see the requested value in the domoticz log, but when i try another value by example the highest-received-co2-value_ppm varable i get an error.
2023-02-19 21:26:06.115 Error: dzVents: Error: (3.1.8) getIthoStatus ...
2023-02-19 21:26:06.115 Error: dzVents: Error: (3.1.8) getIthoStatus ...