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

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

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

Post by waltervl »

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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
Copitano
Posts: 64
Joined: Friday 28 June 2019 1:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: NL
Contact:

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

Post by Copitano »

waltervl wrote: Monday 08 September 2025 22:58 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 bleu arrow) them, but the new one only has a limited history. However, the old device, which is no longer being updated, still has the full history back to 2020. Should I perhaps do the merge the other way around? So, select "replace" in the new device and then point to the old device?
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

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

Post by waltervl »

Here is the correct order described https://wiki.domoticz.com/Managing_Devi ... ace_device

If it again failed it could be you ran into a bug.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
Copitano
Posts: 64
Joined: Friday 28 June 2019 1:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: NL
Contact:

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

Post by Copitano »

waltervl wrote: Tuesday 09 September 2025 0:35 Here is the correct order described https://wiki.domoticz.com/Managing_Devi ... ace_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 and isn't being updated in any case. However, new devices are being created in the device list again, with another green arrow. I also updated under Hardwaretab.
Is it a bug then?
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

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

Post by waltervl »

Seems so, perhaps create a GitHub issue with logging and screenshots describing the situation.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
Copitano
Posts: 64
Joined: Friday 28 June 2019 1:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: NL
Contact:

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

Post by Copitano »

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.
User avatar
gizmocuz
Posts: 2707
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post by gizmocuz »

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 ?
Quality outlives Quantity!
User avatar
Copitano
Posts: 64
Joined: Friday 28 June 2019 1:26
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.2
Location: NL
Contact:

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

Post by Copitano »

gizmocuz wrote: Tuesday 09 September 2025 11:28 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, though, that all the devices also get different IDX numbers. This means modifying scripts that use them, and forwarding them to Grafana becomes a bit messy. However, in my case, this only applies to the USBbackup. That's a relatively small, mounted USB drive that reaches 100% every 10 days and needs to be wiped clean except for the last day (I'm considering to replace it with a larger one when I have a little time) :lol: .
User avatar
gizmocuz
Posts: 2707
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post by gizmocuz »

I know, unfortunately I am not the author of the changes and have mentioned this during his development.
The good news is that now more disks are detected
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest