The documentation of the API is not very helpful here, but it is doable. Basically I had to
lowercase all key entries of the hardware except the ones starting with Mode*,
add a "htype" entry corresponding to the "Type" entry in the original request to fetch hardware info, and
add "type ...
Search found 46 matches
- Wednesday 17 September 2025 19:54
- Forum: Python
- Topic: [SOLVED] Access state of device external to python plugin
- Replies: 5
- Views: 666
- Wednesday 17 September 2025 11:06
- Forum: Python
- Topic: [SOLVED] Access state of device external to python plugin
- Replies: 5
- Views: 666
Re: Access state of device external to python plugin
Can't the domoticz API be used to update this parameter in the hardware? I've developed a code to fetch the hardware info
import requests
# Configuration
DOMOTICZ_URL = 'http://192.168.65.29:8080/json.htm'
# Function to fetch hardware information
def fetch_hardware_info():
response = requests ...
import requests
# Configuration
DOMOTICZ_URL = 'http://192.168.65.29:8080/json.htm'
# Function to fetch hardware information
def fetch_hardware_info():
response = requests ...
- Saturday 13 September 2025 13:21
- Forum: Python
- Topic: [SOLVED] Access state of device external to python plugin
- Replies: 5
- Views: 666
Re: Access state of device external to python plugin
Hi @waltervi. Thanks very much for your reply and sorry for my super late reply (only now had a moment of peace).
I might be overcomplicating things, so perhaps I'll explain what I'm trying to achieve in full. I want that when this device
Screenshot from 2025-09-13 12-19-41.png
switches from ...
I might be overcomplicating things, so perhaps I'll explain what I'm trying to achieve in full. I want that when this device
Screenshot from 2025-09-13 12-19-41.png
switches from ...
- Saturday 02 August 2025 14:28
- Forum: Python
- Topic: [SOLVED] Access state of device external to python plugin
- Replies: 5
- Views: 666
[SOLVED] Access state of device external to python plugin
Hello all,
Pretty basic question I'm convinced but I can't solve it by myself nor find anyone else stuck with the same issue. I've installed this Domoticz-Solax-Plugin and I want to change it so that during its heartbeat function it:
Checks the state of a switch selector device (external to the ...
Pretty basic question I'm convinced but I can't solve it by myself nor find anyone else stuck with the same issue. I've installed this Domoticz-Solax-Plugin and I want to change it so that during its heartbeat function it:
Checks the state of a switch selector device (external to the ...
- Friday 31 January 2025 17:31
- Forum: Cameras
- Topic: Cannot get ESP32-CAM stream
- Replies: 4
- Views: 2219
Re: Cannot get ESP32-CAM stream
Both the IP address and the imageURL were wrong/had to be changed.
- Thursday 30 January 2025 20:33
- Forum: Cameras
- Topic: Cannot get ESP32-CAM stream
- Replies: 4
- Views: 2219
Re: Cannot get ESP32-CAM stream
Thanks for the help, @waltervl. It works!
Actually there was another issue, in that the IP address was missing a .1. between the 168 and 191.
Actually there was another issue, in that the IP address was missing a .1. between the 168 and 191.
- Thursday 30 January 2025 17:52
- Forum: Cameras
- Topic: Cannot get ESP32-CAM stream
- Replies: 4
- Views: 2219
Cannot get ESP32-CAM stream
Hello,
I am struggling to get the live stream of an ESP32-cam into domoticz. I've installed the application ESP32-CAM_MJPEG2SD into the board, and according with the documentation the url ESP32-camIPADDRESS:80//sustain?video=1 returns a live stream, which I have confirmed to work in my web browser ...
I am struggling to get the live stream of an ESP32-cam into domoticz. I've installed the application ESP32-CAM_MJPEG2SD into the board, and according with the documentation the url ESP32-camIPADDRESS:80//sustain?video=1 returns a live stream, which I have confirmed to work in my web browser ...
- Sunday 29 December 2024 8:01
- Forum: Python
- Topic: SOLVED: Does heartbeat takes into acount execution time?
- Replies: 5
- Views: 858
Re: SOLVED: Does heartbeat takes into acount execution time?
Why do you want it to be so specific that it needs a more precise timer? Is for example every approx 30 seconds not good enough? What goes wrong if it is sometimes 29 or 31 seconds?
The reason is that I'm using a smart EV charger (dombusevse) along with the inverter, and for it to adjust the ...
- Saturday 28 December 2024 16:42
- Forum: Python
- Topic: SOLVED: Does heartbeat takes into acount execution time?
- Replies: 5
- Views: 858
Re: Does heartbeat takes into acount execution time?
Thanks for your reply.
The main objective is to read values from an inverter at specific intervals, and I'm using this plugin to do so https://github.com/saidlm/Domoticz-Solax-plugin/blob/321f8e7da24d53affa79a7ab04ae30e89032d337/plugin.py#L248C8-L251C1
As you can see, the author has used heartbeat ...
The main objective is to read values from an inverter at specific intervals, and I'm using this plugin to do so https://github.com/saidlm/Domoticz-Solax-plugin/blob/321f8e7da24d53affa79a7ab04ae30e89032d337/plugin.py#L248C8-L251C1
As you can see, the author has used heartbeat ...
- Saturday 28 December 2024 10:18
- Forum: Python
- Topic: SOLVED: Does heartbeat takes into acount execution time?
- Replies: 5
- Views: 858
SOLVED: Does heartbeat takes into acount execution time?
Hello,
I am wondering if when using the `heartbeat` function in the domoticz module (see https://wiki.domoticz.com/Developing_a_Python_plugin#C++_Callable_API ) inside of a loop, takes into account the execution time of the code between consecutive iterations? In essence, I am wondering if ...
I am wondering if when using the `heartbeat` function in the domoticz module (see https://wiki.domoticz.com/Developing_a_Python_plugin#C++_Callable_API ) inside of a loop, takes into account the execution time of the code between consecutive iterations? In essence, I am wondering if ...
- Tuesday 26 November 2024 8:45
- Forum: Other questions and discussions
- Topic: Costs calculated always using T1/R1
- Replies: 5
- Views: 826
Re: Costs calculated always using T1/R1
Similar issue today morning. There's a discrepancy of extra £0.63. Meanwhile yesterday gap narrowed down from £0.8 in the morning to -£0.02 at the end of day. It seems too large to be considered rounding errors.
- Monday 25 November 2024 19:41
- Forum: Other questions and discussions
- Topic: Costs calculated always using T1/R1
- Replies: 5
- Views: 826
Re: Costs calculated always using T1/R1
Ok, I'll keep monitoring what happens in the following days, and see if the situation improves.
Regarding dynamic pricing, indeed I could use it to obtain costing for T1 and T2, but I think that I should keep using my dzvents script to separate the energy in 1 vs 2 anyway so that:
R1 and R2 are ...
Regarding dynamic pricing, indeed I could use it to obtain costing for T1 and T2, but I think that I should keep using my dzvents script to separate the energy in 1 vs 2 anyway so that:
R1 and R2 are ...
- Monday 25 November 2024 14:53
- Forum: Other questions and discussions
- Topic: Costs calculated always using T1/R1
- Replies: 5
- Views: 826
Re: Costs calculated always using T1/R1
If you check the report page of this device the issue should be more clear as it shows T1/T2 usage and costs per day.
Ahh, I was not aware that a daily display could be also reported: thanks! It's strange...by looking at the table below the costs for Monday should be 0.05+0.42-0.01=0.46, but ...
- Monday 25 November 2024 7:38
- Forum: Other questions and discussions
- Topic: Costs calculated always using T1/R1
- Replies: 5
- Views: 826
Costs calculated always using T1/R1
I have a dummy P1 smart mater device to monitor the energy that comes from/to the grid, which is updated using data from my solax inverter via a plugin.
Since I am using a high/low tariff, and the plugin was incorrectly sending all of the data to T1/R1 I have created a dzvents script to update the ...
Since I am using a high/low tariff, and the plugin was incorrectly sending all of the data to T1/R1 I have created a dzvents script to update the ...
- Sunday 24 November 2024 12:20
- Forum: Other questions and discussions
- Topic: Where/how are tariffs defined
- Replies: 21
- Views: 8351
Re: Where/how are tariffs defined
If the Solar device is also monitoring your grid connection it should be the plugin that should have configuration attributes for changing T1/T2 times. So dont blaim core Domoticz for that... :-)
Also normal counters are not able to differentiate in T1/T2 tariffs.
T1/T2 tariffs are probably ...
- Sunday 24 November 2024 10:58
- Forum: Other questions and discussions
- Topic: Where/how are tariffs defined
- Replies: 21
- Views: 8351
Re: Where/how are tariffs defined
For a P1 meter the time for tarif change is defined by the energy supplier. So you do not have to do anything in Domoticz. When T1/T2 change is there T2 data is sent by the smart meter. instead of T1 data.
You see, that's again a difference between how you and I are interpreting a P1 smart ...
- Saturday 23 November 2024 11:20
- Forum: Other questions and discussions
- Topic: Where/how are tariffs defined
- Replies: 21
- Views: 8351
Re: Where/how are tariffs defined
@waltervl
Have seen it and sorry to say this but I still think that for the noninitiated it is extremely unclear. There's not even a web link to the P1 smart meter device so that one can become familiar with its internal structure that separates tariff1 vs 2.
It might be helpful to explain what ...
Have seen it and sorry to say this but I still think that for the noninitiated it is extremely unclear. There's not even a web link to the P1 smart meter device so that one can become familiar with its internal structure that separates tariff1 vs 2.
It might be helpful to explain what ...
- Saturday 16 November 2024 19:26
- Forum: Other questions and discussions
- Topic: Where/how are tariffs defined
- Replies: 21
- Views: 8351
Re: Where/how are tariffs defined
The most ridiculous thing is that none of this is documented in domoticz wiki!
- Wednesday 14 August 2024 10:08
- Forum: Suggestions
- Topic: Make it possible to add devices to a room in the devices list
- Replies: 13
- Views: 3545
Re: Make it possible to add devices to a room in the devices list
This is useful but does not solve the hassle of having to add the devices one by one. +1 on this request. Thanks.waltervl wrote: Thursday 04 July 2024 16:24 Alternatively it is now possible in current beta 2024.4 to add a device to a room from the device edit function
Domoticz-add to roomplan.png
- Wednesday 14 August 2024 10:05
- Forum: Suggestions
- Topic: Enabling a group of devices quickly, and add them to a roomplan
- Replies: 1
- Views: 2630
Re: Enabling a group of devices quickly, and add them to a roomplan
I agree. +1 on this