Search found 64 matches

by Copitano
Tuesday 16 September 2025 1:12
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305


This has been noticed recently before. It is the way the devices are created (poked directly into the database)
I am afraid this can not be changed easily without modifying the code.

Is it that big of a problem you loose your history of your harddisk fullness ?

No, not a disaster. It is a shame ...
by Copitano
Tuesday 09 September 2025 8:25
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305

waltervl wrote: Tuesday 09 September 2025 8:22 Seems so, perhaps create a GitHub issue with logging and screenshots describing the situation.
Okay, I Will. Thanks again.
by Copitano
Tuesday 09 September 2025 0:52
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305


Here is the correct order described https://wiki.domoticz.com/Managing_Devices#Replace_device

If it again failed it could be you ran into a bug.

That's exactly the instruction I followed earlier. I've done it again now. The newly created device disappears. The old one seems to remain as it was ...
by Copitano
Tuesday 09 September 2025 0:05
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305


Are there perhaps already again new hdd devices available that are updated? The replace function should have managed that already with the previous merge. So it is strange it stopped working now suddenly.

I rechecked the device list. And yes, new devices have been created. I activated (green to ...
by Copitano
Monday 08 September 2025 20:32
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305

waltervl wrote: Monday 08 September 2025 20:06 Delete the not updating devices. They should recreated again after a restart of the mother board sensors gateway (press on update to restart it)
Okay, but that means I will lose my history right?
by Copitano
Monday 08 September 2025 19:52
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305


Great!
There was a change in motherboard sensors for harddisks order and new HDD devices are created but not activated.
So check the motherboard devices in menu setup - devices and activate the new HDD devices (click on green arrow) and remove the old, not updated, ones.

Ahhh, that explains a ...
by Copitano
Monday 08 September 2025 10:19
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305

waltervl wrote: Monday 08 September 2025 8:08 Your call seems wrong, it should be param=getdevices like

Code: Select all

/json.htm?type=command&param=getdevices&rid=305
This solved the problem. All devices are updated now. Thank you very much :D
Motherboard sensors stil not updated.
by Copitano
Monday 08 September 2025 1:19
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305


Check the script for typing errors.
Also try manually to use the API call from a browser on the same system as where the php script is running, to see if you get an OK or Error on the response.

Unfortunately, I'm getting an error. The script hasn't been changed since Domoticz version 2024.7. So ...
by Copitano
Sunday 07 September 2025 15:12
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305


So to make sure I understand: the http://127.0.0.1:8080/json.htm is now working and now only the "http://192.168.2.247:8080/json.htm?" is not working yet....right?

The shown script updates many devices. Are none of these updates working?

Sorry for the late response.
All devices were updated ...
by Copitano
Tuesday 26 August 2025 0:01
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305


Then it should work. None of the devices are updated by the php script? Input is working? Perhaps you can add some debug statements... Or try some url yourself from the same system where the php script runs.

You also can rewrite this to dzvents but that is another topic....


No all are updated ...
by Copitano
Monday 25 August 2025 22:04
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305

waltervl wrote: Monday 25 August 2025 18:43 Dus you also check the security settings for API http authorization?
yes allowed for 127.0.0.*;192.168.xxx.* and checkbox and basic-auth on.
by Copitano
Monday 25 August 2025 17:21
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305



The API urls have changed since 2023.2 https://wiki.domoticz.com/Domoticz_API/JSON_URL%27s#Warning_Stable_2023.2_(and_newer)

Also check your security settings and make sure API authorisation over http is allowed.
https://wiki.domoticz.com/Security#API_Protection

Perhaps you missed my remark ...
by Copitano
Sunday 24 August 2025 23:35
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Re: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305

jvdz wrote: Sunday 24 August 2025 18:21 Do you have 127.0.0.1 in the allowed ip ranges in the setup?
Yes, 127.0.0.* are allowed as are 192.168.xxx.*
by Copitano
Sunday 24 August 2025 18:11
Forum: Bugs and Problems
Topic: Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305
Replies: 28
Views: 706

Error opening url: http://127.0.0.1:8080/json.htm?type=graph&sensor=counter&range=month&idx=305

After some procrastination, I finally updated to the latest stable version (2025.1) of Domoticz last week.
The things below under attachments haven't worked since minutes after the update.
I've already tried everything, including updating and upgrading the operating system on my Pi (bullseye).
I'm ...
by Copitano
Wednesday 05 March 2025 17:38
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 401
Views: 153150

Re: Python plugin: Modbus RTU / ASCII / TCP/IP


Hi All,
I rewrote the script of the Read plugin and it reads the modbus RTU and modbus TCP/IP registers correctly.
I have no way to check modbus RTU over IP.
Just replace the plugin.py file in the location .../domoticz/plugins/modbus-read and restart Domoticz
I will work on the plugin for writing ...
by Copitano
Sunday 29 September 2024 18:11
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 401
Views: 153150

Re: Python plugin: Modbus RTU / ASCII / TCP/IP


Hi All,
I rewrote the script of the Read plugin and it reads the modbus RTU and modbus TCP/IP registers correctly.

Hi Rosomak,
I solved the problem of not creating devices/widgets by a clean install of the operating system and python 3.9.6 Below the result. Looks as if its working for me aswell ...
by Copitano
Saturday 28 September 2024 13:27
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 401
Views: 153150

Re: Python plugin: Modbus RTU / ASCII / TCP/IP


Hi All,
I rewrote the script of the Read plugin and it reads the modbus RTU and modbus TCP/IP registers correctly.
I have no way to check modbus RTU over IP.
Just replace the plugin.py file in the location .../domoticz/plugins/modbus-read and restart Domoticz
I will work on the plugin for writing ...
by Copitano
Wednesday 25 September 2024 0:40
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 401
Views: 153150

Re: Python plugin: Modbus RTU / ASCII / TCP/IP

As I said, I tested today with the new plugin.py version 2024 beta. Unfortunately, I now have the problem back that I also mentioned above. No widget is created. I have not been able to change that yet as with the previous version because those lines in the script are commented out.
by Copitano
Tuesday 24 September 2024 1:24
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 401
Views: 153150

Re: Python plugin: Modbus RTU / ASCII / TCP/IP


Hi All,
I rewrote the script of the Read plugin and it reads the modbus RTU and modbus TCP/IP registers correctly.
I have no way to check modbus RTU over IP.
Just replace the plugin.py file in the location .../domoticz/plugins/modbus-read and restart Domoticz
I will work on the plugin for writing ...
by Copitano
Monday 26 August 2024 16:37
Forum: Python
Topic: Python plugin: Modbus RTU / ASCII / TCP/IP
Replies: 401
Views: 153150

Re: Python plugin: Modbus RTU / ASCII / TCP/IP


My version is still working fine on 2024.4

https://github.com/simat-git/SDM120-Modbus

Easy to adapt to any modbus meter if you know the register numbers.

I have looked at your version, but I can't figure out how to adapt it for more general use. So not only specifically for your meter, but ...