Closed wes1993 closed 2 months ago
Hello Stefano,
Do you use the latest version of home assistant 2024.7.0?
Yes
Hello again @huizebruin, Thanks for your support, from what I can see the problem seems related to this part of the code in basis.yaml:
- platform: template
id: check_for_update_button
name: Check for firmware update
device_class: update
on_press:
then:
- component.update: update_http_request
Best Regards Stefano
I think that the problem is: Inside the basis.yaml file there is this part of the code:
- platform: template
id: check_for_update_button
name: Check for firmware update
device_class: update
on_press:
then:
- component.update: update_http_request
But in the esphome/pulscounter_flux.yaml there isn't reference to esphome/components/pulscounter_flux-update.yml:
packages:
remote_package:
url: https://github.com/huizebruin/s0tool/
ref: main
files:
- esphome/components/basis.yaml
- esphome/components/kwhpuls.yml
- esphome/components/watermeter_flux.yaml
So I think we should create the file esphome/components/pulscounter_flux-update.yml that access the Json of pulscounter_flux.yaml with updated version For now I have fixed in this way but clearly the update part won't work because the website https://s0tool.nl/s0tool-standard-flux.json does not exist:
My updated ESPHome config:
substitutions:
name: s0tool-standard-flux-5ca9c0
packages:
huizebruin.s0tool-standard-flux: github://huizebruin/s0tool/esphome/pulscounter_flux.yaml
esphome:
name: ${name}
name_add_mac_suffix: false
api:
encryption:
key: HiddenByMe
update:
- platform: http_request
name: Firmware Update
id: update_http_request
source: https://s0tool.nl/s0tool-standard-flux.json
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
Best Regards Stefano
Hello Stefano,
I found the problem, i will try to fix this as soon as possible.
Hello Stefano, @wes1993
Can you tell me what for sensor you are using, i will put it also on the flashpage so everyone can use it from the flash page.
Hello @huizebruin, Thanks for your help, sure I'm using this sensor:
Dekaim Flussostato Acqua, 1Pc... https://www.amazon.it/dp/B08KGG1H8Y?ref=ppx_pop_mob_ap_share
Best regards Stefano
Update error, below the log:
My config:
Best Regards Stefano