Skip to content

Partial configuration as parameters#3

Draft
juanjoSanz wants to merge 46 commits intoivmarkov:masterfrom
juanjoSanz:master
Draft

Partial configuration as parameters#3
juanjoSanz wants to merge 46 commits intoivmarkov:masterfrom
juanjoSanz:master

Conversation

@juanjoSanz
Copy link
Copy Markdown

  • Expose serial device into container
  • Configurable parameters to set serial interface

Comment thread nx584/CHANGELOG.md
Comment thread nx584/Dockerfile
Comment thread nx584/config.ini
Comment thread nx584/config.yaml Outdated
ports:
5007/tcp: 5007
options:
serial_dev: "/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is hard-coded to your own serial device. Ideally it should be something more generic?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, that's my config, the idea is that this parameter can be easily set in addon config tab

Comment thread nx584/run.sh Outdated
Copy link
Copy Markdown
Owner

@ivmarkov ivmarkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good! A few small remaining changes/suggestions.

But most important - is this ready now? I'm unsure, as you keep pushing more and more stuff. If you plan to continue developing it before I merge, can you mark the PR as "Draft" so that at least I'm aware that this is still work in progress?

Comment thread nx584/config.yaml
baud: "9600"
socat:
enabled: false
host: "192.168.30.1"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also here - let's change it to "192.168.0.1" which is kinda like the most popular network?

Comment thread nx584/config.yaml
euro_date_format: true
use_binary_protocol: false
idle_time_heartbeat_seconds: "120"
zones: "NX Main entrance,NX Kitchen,NX Despacho,NX Garage"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also here: "Area 1, Area 2, ..."?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I plan to do that, but it is still on development...

@juanjoSanz juanjoSanz marked this pull request as draft October 27, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants