Giter Site home page Giter Site logo

S6 init issue? about addon-otmonitor HOT 6 CLOSED

basnijholt avatar basnijholt commented on June 5, 2024
S6 init issue?

from addon-otmonitor.

Comments (6)

fliphess avatar fliphess commented on June 5, 2024 2

@andriej Luckily it's summertime so you won't be using it that much :)

I'll push a fix soon πŸ‘

from addon-otmonitor.

andriej avatar andriej commented on June 5, 2024 2

I had to remove and re-add addon as releases under 'dev' don't show as new version - right?
image
but anyway - it started, I can see OTmonitor.

Now back to HA and connect it back... :-)
Thanks!

from addon-otmonitor.

andriej avatar andriej commented on June 5, 2024

@fliphess I see update in config.json to fix that probably?
config is:

otgw:
  host: REDACTED
  port: REDACTED
  relay_port: 7686
mqtt:
  autoconfig: false
  broker: addon_core_mosquitto
  port: 1883
  username: REDACTED
  password: REDACTED
  client_id: otmonitor
  action_topic: actions/otmonitor
  event_topic: events/central_heating/otmonitor
  data_format: raw
  all_messages: false
  qos: 1
  retransmit: 10
email:
  enable: false
  recipient: recipient_here
  sender: sender_here
  user: user_here
  password: password_here
  server: mail_server_here
  port: 25
  secure: Plain
tspeak:
  enable: false
  key: key_here
  interval: 120
  sync: true
html_templates:
  enabled: false
  editable: false

from addon-otmonitor.

fliphess avatar fliphess commented on June 5, 2024

@andriej I was trying to fix the issues related to the upgrade of the s6-overlay in the hass base container but couldn't find why it was stil crashing...

The exit code 126 stands for β€œcommand not executable", so I think I know how to fix it (Setting +x permissions on all run scripts)

The fix is easy:

$ git update-index --chmod=+x rootfs/etc/service.d/my-service/run

(As mentioned in the hass docs)

I hope I can make some time to push a fix later this week, but I'm very busy with work lately, (And tbh because of the nice weather it's even harder to get behind a screen to fix stuff), so if you are in the mood for making a PR, be my highly appreciated guest :)

from addon-otmonitor.

andriej avatar andriej commented on June 5, 2024

I've encountered problem after... SSD died and trying to get everything back online.
I even switched to HA OS so don't have good direct access to any dev installations yet (even tho I'm not that much into running dockers unfortunately ;-))...

Will patiently wait for fix, currently managed to connect HA directly

from addon-otmonitor.

fliphess avatar fliphess commented on June 5, 2024

It's such a small fix, the time I needed to respond on your issue took longer than the fix..... @andriej Can you give it a try and let me know if it works now?

from addon-otmonitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.