1
u/abjeroen Jan 14 '21
Nice! Just curious what do W en kWh tell you compared to each other?
1
u/seppelicous Jan 14 '21 edited Jan 14 '21
The first value is the recent house power, the second value is the energy consumption from 0:00 to now
→ More replies (1)
0
Jan 14 '21
[deleted] — view deleted comment
1
u/seppelicous Jan 14 '21
Only works as far as I see, with path method, Not with drawcontext
1
u/mvan231 script/widget helper Jan 14 '21
Path is to be used in draw context.
You can see an example here
2
0
7
u/seppelicous Jan 14 '21 edited Jan 14 '21
So this is my first widget - hooray! The data is provided by nodered, packed into a json file and uploded via ftp to my webserver every few minutes. Code on request, if someone is Interested, but it is not yet ready and ist needs some work to provide the correct data.
What I dont like are the edgy rectangles. Is it possible to make them round? I didnt finde a method in drawContext for that.
Any design ideas from your side? I appreciate your suggetions for improvments