dmslabsbr / hoymiles

Hoymiles ADD-ON for Home Assistant
119 stars 30 forks source link

Implementation of s6-overlay in service #165

Closed focabr closed 1 month ago

focabr commented 1 month ago

Enabling the service, it receives the signal from the operating system and restarts.

I prefer to make small changes, so I wanted to bump just the OS version before making the s6-overlay changes

I'm still working on it.

PS: To be able to implement the s6-overlay, it was necessary to bump the image.

2024-08-01 00:53:00,285 - HoymilesAdd-on - INFO - HMS-2000DW-4T_15430390 data publication...2024-08-01 00:53:00.285850
2024-08-01 00:53:00,286 - HoymilesAdd-on - INFO - Main loop start!
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service hoymiles_solardata_edge: stopping
2024-08-01 00:54:19,261 - HoymilesAdd-on - INFO - Program killed: running cleanup code
[00:54:19] INFO: Service hoymiles_solardata_edge exited with code 0 (by signal 0)
[00:54:19] INFO: Service hoymiles_solardata_edge restarting...
s6-rc: info: service hoymiles_solardata_edge successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
focabr commented 1 month ago

Hi, I used these links as references to create this PR, so in case you need them.

Docs: https://developers.home-assistant.io/docs/add-ons repo: https://github.com/home-assistant/addons-example