Hi @Pat
Thanks a lot for this feedback, it’s invaluable: it’s the very first time that the integration runs on a real ecojoko account. Knowing that the numbers match your application validates the entire reverse engineering part, including production and the off-peak/peak hour splitting.
Your screenshot actually highlighted a real flaw, which your question about the gauge made blocking. I’ll answer in order.
The refresh. Two speeds, both adjustable in the integration configuration:
- the instantaneous power, every 30 seconds by default, adjustable from 5 to 300 seconds;
- the day’s consumption, the index and the ambient sensors, every 5 minutes, adjustable from 1 to 60 minutes.
The dashboard thumbnail, however, does not poll: it updates instantly as soon as a value arrives. What you see is therefore the rhythm chosen above. No need to go too low, each reading is a request to the ecojoko cloud and the display itself is not faster.
The gauge. Yes, it’s possible, and without waiting for anything from me: Gladys has a native Gauge box.
But in your situation it wouldn’t have worked, and it’s my fault. I declared the power as a consumption, therefore bounded to zero, while your sensor returns a negative value in surplus. The gauge positions its needle based on these limits: your overproduction would have been out of scale.
It’s fixed. Power becomes a network exchange, signed: positive when drawing, negative when injecting, on a scale from −12,000 to +12,000 W. Zero therefore falls right in the middle of the gauge. Once the new version is installed:
- on the integration page, once updated, Discovered Devices tab, the device will offer an Update button. A click applies the new definition, your history is preserved;
- on your dashboard, add a Gauge widget, choose the Instantaneous Power feature and activate custom colors;
- low threshold at 0 with the low color in green: any negative value, therefore any overproduction, turns green. High threshold at the power you consider high, 3,000 W for example, high color in red. The intermediate color applies between the two, set it to orange to clearly distinguish the three areas.
The « 30-minute Cost » without a recent value. This is normal and it’s not the integration that calculates it: Gladys derives it itself from the consumption index. It needs two things, an electricity contract entered in the energy settings, and at least thirty minutes of index returned for a first difference to exist. If after that the thumbnail remains empty, let me know.
A lead, if you’re interested. As you are a producer: today I return your daily production, but not a cumulative production index. Yet this is the only format from which Gladys feeds its 30-minute production tracking. I can add it, it’s the same mechanism as for consumption. Let me know if you want it, you are the best placed to test it.
Have a good day, and thanks again.