Solar Dashboard Project

Projects related to Solar Power
randr
Posts: 18
Joined: Sat Dec 04, 2021 4:51 pm

Re: Solar Dashboard Project

Post by randr »

@jonathan
Is this still correct for Home assistant?
- name: "Solar Generation Today"
#unique_id: snektek_solardashboard_gen_today
value_template: '{{ value_json["genToday"] }}'
device_class: energy
state_class: measurement
unit_of_measurement: "kWh"
- name: "Solar Generation This Month"
#unique_id: snektek_solardashboard_gen_month
value_template: '{{ value_json["genMonth"] }}'
device_class: energy
state_class: measurement
unit_of_measurement: "kWh"
- name: "Solar Generation This Year"
#unique_id: snektek_solardashboard_gen_year
value_template: '{{ value_json["genYear"] }}'
device_class: energy
state_class: measurement
unit_of_measurement: "kWh"
jonathan
Posts: 237
Joined: Thu Feb 01, 2018 1:12 am

Re: Solar Dashboard Project

Post by jonathan »

randr wrote:
Wed Jan 25, 2023 9:14 am
@jonathan
Is this still correct for Home assistant?
- name: "Solar Generation Today"
#unique_id: snektek_solardashboard_gen_today
value_template: '{{ value_json["genToday"] }}'
device_class: energy
state_class: measurement
unit_of_measurement: "kWh"
- name: "Solar Generation This Month"
#unique_id: snektek_solardashboard_gen_month
value_template: '{{ value_json["genMonth"] }}'
device_class: energy
state_class: measurement
unit_of_measurement: "kWh"
- name: "Solar Generation This Year"
#unique_id: snektek_solardashboard_gen_year
value_template: '{{ value_json["genYear"] }}'
device_class: energy
state_class: measurement
unit_of_measurement: "kWh"
It should work, I haven't changed anything to break compatibility, however the actual values could be incorrect right now, I am still working on confirming the scaling. On renogy I think I am off by a factor of 10. It's going to be fixed very soon. I just got the bluetooth module in, hopefully it gives me a second way to confirm things.
fredivar
Posts: 20
Joined: Thu Apr 23, 2020 6:02 pm
Location: Norway

Re: Solar Dashboard Project

Post by fredivar »

Did OTA happened to my Snektek module? I thought it must be updated from a computer or phone on same internal network, but I have only remote access to mine via 4G now in wintertime, and have not requested any update.
I see that parameters shown have changed and that all values in the green fields "today","month","year" and "lifetime" are now all "undefined"
See screenshots from 22. and 24. of January:
22.1.2023
22.1.2023
24.1.2023
24.1.2023
(before and after OTA update) .For your information, my solar controller is a ePever Tracer4210AN
jonathan
Posts: 237
Joined: Thu Feb 01, 2018 1:12 am

Re: Solar Dashboard Project

Post by jonathan »

fredivar wrote:
Sat Feb 04, 2023 3:27 pm
Did OTA happened to my Snektek module? I thought it must be updated from a computer or phone on same internal network, but I have only remote access to mine via 4G now in wintertime, and have not requested any update.
I see that parameters shown have changed and that all values in the green fields "today","month","year" and "lifetime" are now all "undefined"
See screenshots from 22. and 24. of January:Screenshot_2023-01-22-12-37-15-28.jpg
Screenshot_2023-01-24-12-29-01-10.jpg
(before and after OTA update) .For your information, my solar controller is a ePever Tracer4210AN
Hi Fred,

Yes there was an update on the stable update channel (default). For the first time in a few years. Lots of new features people asked for were added but unfortunately a few user interface bugs were introduced too. The one you're seeing is only seen on the cloud view. The bugs are already fixed and the update will be pushed automatically after some testing on the testing channel. The missing generated data will reappear when the update is installed in a few weeks.

I was keen on pushing the update, perhaps without enough testing on the User Interface elements, because I found some optimizations that greatly improve stability of the dashboard. If you check reboot counter it should be rebooting not much more than the scheduled once a day reboot.
randr
Posts: 18
Joined: Sat Dec 04, 2021 4:51 pm

Re: Solar Dashboard Project

Post by randr »

I have a Renogy controller and all works fine. But sure would like totals in HA but not seeing them.

{"t":1675772903,"pv.v":0.4,"pv.c":0,"pv.p":0,"bt.v":13,"bt.s":94,"bt.c":0,"bt.t":21,"eq.t":22,"ld.c":0,"ld.p":0}
jonathan
Posts: 237
Joined: Thu Feb 01, 2018 1:12 am

Re: Solar Dashboard Project

Post by jonathan »

What firmware are you on now?
randr
Posts: 18
Joined: Sat Dec 04, 2021 4:51 pm

Re: Solar Dashboard Project

Post by randr »

oddly it started to show some totals!
firmware: 4.0-dev-2020-01-06-02-38
Do you know what bt.s is? battery state?
see screenshot
Attachments
Screenshot 2023-02-12 085112.png
jonathan
Posts: 237
Joined: Thu Feb 01, 2018 1:12 am

Re: Solar Dashboard Project

Post by jonathan »

Yes it's state of charge, for now only implemented on renogy but I'm working on the others
randr
Posts: 18
Joined: Sat Dec 04, 2021 4:51 pm

Re: Solar Dashboard Project

Post by randr »

just noticed i now have totals! though probably not accurate it is something!
update: 5.1-00cd7d-2023-02-13-06-58
Attachments
Screenshot 2023-02-13 182817.png
randr
Posts: 18
Joined: Sat Dec 04, 2021 4:51 pm

Re: Solar Dashboard Project

Post by randr »

Here is how the latest update looks in snektek dashboard.
"Topograph" supposed to have anything? currently its blank.
Thanks Jonathan for the great updates!
Attachments
Screenshot 2023-02-15 174311.png
Screenshot 2023-02-15 174247.png
Screenshot 2023-02-15 174034.png
Post Reply