Search found 10 matches

by MdeBoer
Saturday 22 July 2023 15:52
Forum: Bugs and Problems
Topic: All dashboards empty after Domoticz upgrade
Replies: 38
Views: 14305

Re: All dashboards empty after Domoticz upgrade

Check this topic

viewtopic.php?p=302817#p302817

It's because of better security you have to assign devices to users in the user tap
by MdeBoer
Friday 25 November 2022 21:54
Forum: dzVents
Topic: How to save data from JSON
Replies: 10
Views: 1524

Re: How to save data from JSON

Hello, I'm a little further now: return { on = { timer = {"at 00:02", "at *:03"}, httpResponses = {"Energyzero"} }, data = { dayprices = { history = true, maxItems = 24 } }, logging = { level = domoticz.LOG_DEBUG, -- set to LOG_ERROR when script works as expected marker = Energyzero }, execute ...
by MdeBoer
Wednesday 23 November 2022 18:47
Forum: dzVents
Topic: How to save data from JSON
Replies: 10
Views: 1524

Re: How to save data from JSON

Hey nice! I have similar plans for the future. I also want to shutdown my solar system if prices are negative and I have my battery full. Future idea, I have no battery yet. My code so far: return { on = { timer = {"at 00:03"}, httpResponses = {"Energyzero"} }, data = { dayprices = { history = true ...
by MdeBoer
Tuesday 22 November 2022 18:34
Forum: dzVents
Topic: How to save data from JSON
Replies: 10
Views: 1524

Re: How to save data from JSON

Why would you want to save the JSON? Why not parsing it and storing only the values you want (price?)? You can also just store the string if you want/have to parse it later. What I like to build is, once a day, in this case every day at 15:00 new prices of electricity come out for the day ahead ...
by MdeBoer
Tuesday 22 November 2022 18:18
Forum: dzVents
Topic: How to save data from JSON
Replies: 10
Views: 1524

Re: How to save data from JSON

waltervl wrote: Monday 21 November 2022 9:30 Here you have an example to save prices from a Json into devices. viewtopic.php?t=30004
Later you can do some statistics on this.
Thanks wil take look at it!
by MdeBoer
Sunday 20 November 2022 21:20
Forum: dzVents
Topic: How to save data from JSON
Replies: 10
Views: 1524

How to save data from JSON

Hello everyone i want to save a JSON tabel in "data" of DzVents data = { historycalprices = { history = true, maxItems = 24 } }, The JSON I want to save is this, only the "prices" object with price in the fist blok en the readingDate in the second { "Prices": [ { "price": 0.22, "readingDate": "2022 ...
by MdeBoer
Sunday 25 September 2022 12:17
Forum: Bugs
Topic: counter value of virtual gas device incorrectly set to 0
Replies: 6
Views: 1429

Re: counter value of virtual gas device incorrectly set to 0

Hello Willemd, I think I have the same kind of issue on a electric counter (instant + counter) I created al script that's calculating my real usage during a day, after midnight it doing something wird, de total amount of the day before wil picked up en used tot zet it to a minus amount of usage in ...
by MdeBoer
Friday 25 September 2020 23:04
Forum: Python
Topic: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?
Replies: 951
Views: 169247

Re: [REQUEST] Ikea Trådfri Gateway (smart lights hub controller) plugin?

HI! I have the plugin updated tot 0.9.6 en PyCoap to 0.9.0 now I have the following error: (Domoticz Version: Version: 2020.2 Build Hash: b63341bc0) Can someone explain this? Lights wil switch on, but it takes about 5 to 10 seconds to switch them on. 2020-09-25 23:00:43.127 Error: (IKEA-Tradfri ...
by MdeBoer
Saturday 18 April 2020 21:05
Forum: Python
Topic: Python Plugin: Growatt Inverter
Replies: 107
Views: 20805

Re: Python Plugin: Growatt Inverter

SValue?? doest that exist? The rest says sValue. That was an issue, thanks! sValue=str(current)+";"+str( float(total)*1000 )+";"+str(totalmonth) The above doesn't work indeed, I made it back to original. (see below) Is there an easy way to get the "month total" in a device? sValue=str(current ...
by MdeBoer
Saturday 18 April 2020 19:09
Forum: Python
Topic: Python Plugin: Growatt Inverter
Replies: 107
Views: 20805

Re: Python Plugin: Growatt Inverter

@Sincze, Is it possible to retrieve the "month total"? I'm trying to edit the plugin.py but im stuc on the Device. I edit following pice of code elif ('powerValue' in apiResponse): current = apiResponse['powerValue'] total = apiResponse['totalValue'] totalmonth = apiResponse['monthValue'] # Convert ...