-
Notifications
You must be signed in to change notification settings - Fork 35
Anybody got this working in Docker? #33
Comments
I have my version running in docker, but I think I replaced the logger
commands.
I’d post mine but I think it’s too specific for sp7000 series panels now.
…On Sat, 6 Oct 2018 at 13:25, Jéan Roux ***@***.***> wrote:
Anybody got this up and running in Docker? I still get this error:
logging to file /var/log/paradoxip.log
ERROR:root:******************* Error reading config.ini file (will use defaults): No section: 'Application'
Traceback (most recent call last):
File "/usr/src/iotp/ParadoxIP150v2/IP150-MQTTv2.py", line 955, in <module>
reading config
logging.error( "MQTT connection error (" + str(attempts) + ": " + e.strerror)
AttributeError: 'exceptions.AttributeError' object has no attribute 'strerror'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#33>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFGkc8tLIRFPwPKMRuHgUi4RsMWHtVpuks5uh_iIgaJpZM4XLF3g>
.
|
Here is my Dockerfile:
|
Here is my docker file, the
I'll confirm if I made any changes to the code to support the config file like this, but I believe I did make alterations to the logging so it uses syslog. |
If you want (or tertuish does as well) you can look at my fork...and if it's still good for everyone (as it not just SP panels as I added a log of status reporting from those for battery voltage etc). Then I can PR it back to the main fork. But this includes my docker file....it's called a cross, and I have a build script for building arm64v8, arm32v6 and amd64. I'll need to add more files into the fork to explain this. Here's the link: https://github.com/psyciknz/ParadoxIP150v2 It was forked a while ago, so I'm not sure the state compared to the original. |
👍 |
Anybody got this up and running in Docker? I still get this error:
The text was updated successfully, but these errors were encountered: