Running a permanently needed Python script in Docker?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
danielccm
Posts: 7
Joined: Thursday 04 July 2019 21:40
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Running a permanently needed Python script in Docker?

Post 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! :-)
DAVIZINHO
Posts: 234
Joined: Sunday 27 August 2017 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Spain
Contact:

Re: Running a permanently needed Python script in Docker?

Post 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 :-)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest