Page 1 of 1

Running a permanently needed Python script in Docker?

Posted: Thursday 04 July 2019 21:42
by danielccm
Hi!

Sort of a project here. I currently have this working on a Raspberry pi and it works flawlessly but I need to repurpose the RPi and well...

I have a Domoticz server (on the RPi) and due to x reasons I also have a Python script that detects bluetooth devices and sets them up in the Domoticz server as presence indicators.

I know that I can have Domoticz on my DS918+. I'm already starting to port it... heck.. I'm actually starting over... no worries.

Here's where the trouble begins...

I am using an RFXCom USB device in the RPi... I read somewhere that it shouldn't be any problem using it on the DS.... right?

Where I run into a logical issue is... will it be ok if I install a USB hub on the back usb port and plug both the RFXCom device AND a Bluetooth dongle?

After that part... another issue... Is Docker the ideal solution for this? I want a lightweight solution... but not sure if it'll work...

Ideas? Thanks!



Edit: PS: Happy 4th of July you american folks! :-)

Re: Running a permanently needed Python script in Docker?

Posted: Monday 08 July 2019 12:51
by DAVIZINHO
hello daniel.
I have domoticz in a raspberry with a lot os devices (natives, scripts in python, scxripts in sh, some in node...) And now i buy a synology 1019+ (identical that your 918+) and im thinking to migrate my domoticz system to docker.

I have a lot of quetsions :-(

i cant help you but this post is very very interesting and i keep looking :-)