Page 32 of 34

Re: Solar Dashboard Project

Posted: Wed Jan 25, 2023 9:14 am
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"

Re: Solar Dashboard Project

Posted: Wed Jan 25, 2023 1:49 pm
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.

Re: Solar Dashboard Project

Posted: Sat Feb 04, 2023 3:27 pm
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

Re: Solar Dashboard Project

Posted: Sun Feb 05, 2023 12:39 am
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.

Re: Solar Dashboard Project

Posted: Tue Feb 07, 2023 7:36 am
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}

Re: Solar Dashboard Project

Posted: Thu Feb 09, 2023 6:20 pm
by jonathan
What firmware are you on now?

Re: Solar Dashboard Project

Posted: Sun Feb 12, 2023 9:53 am
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

Re: Solar Dashboard Project

Posted: Sun Feb 12, 2023 12:02 pm
by jonathan
Yes it's state of charge, for now only implemented on renogy but I'm working on the others

Re: Solar Dashboard Project

Posted: Mon Feb 13, 2023 7:30 pm
by randr
just noticed i now have totals! though probably not accurate it is something!
update: 5.1-00cd7d-2023-02-13-06-58

Re: Solar Dashboard Project

Posted: Wed Feb 15, 2023 6:43 pm
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!