Comments (6)
Assuming noone else has looked into this, I'm getting into it right now and can send a PR when I'm done.
from smartthings.
That would be great! Look forward to it...
from smartthings.
I'm working on moving to Docker myself, and have built a Docker image for the node-proxy for Raspberry Pi. Haven't tested it except with the generic plugin but here it is:
https://hub.docker.com/r/tcjennings/rpi-smartthings-nodeproxy/
To run it you should create a config.json somewhere on your host, then:
docker run -itd -p 8080:8080 -e ENABLED_PLUGINS="generic" \
-v /path/to/config.json:/sntp/config.json \
--device /dev/ttyUSB0 \
tcjennings/rpi-smartthings-nodeproxy:latest
The ENABLED_PLUGINS should be a space-separated list of the plugin names to enable (without the .js extension). I think you need Docker 1.12 for the --device
directive, which is necessary to give the container control of the USB serial port.
Probably want a restart policy and a friendly name too. I'm going to work on a docker-compose file to make execution trivial.
Edit: I made the docker-compose.yml
file. See https://github.com/tcjennings/docker-build/tree/master/rpi-smartthings-nodeproxy.
from smartthings.
Awesome... will take a look at it this weekend!
from smartthings.
I just migrated my production Pi to use Docker and it works. I'd never done the hardware device pass-through in a container before so I wasn't sure how it'd go. Seems fine. I used the compose file to fire it up, and used my existing working config.json. Compose does all the heavy lifting.
from smartthings.
Refer to PR #13
from smartthings.
Related Issues (20)
- multi bypass honeywell
- Missing License HOT 1
- Update installation instructions HOT 1
- Question- looking for a 'Notify' path HOT 1
- Cannot get property 'smartAppVersionDTO' on null object
- Yamaha volume issue
- Yamaha input
- Vista panel don’t see zones past 6.
- Multiple Partitions
- Any chance we could notify more than one IP? Also, Hubitat support
- Question: I did a clean windows install, now commands to Honeywell from SmartThings fail HOT 1
- warn No event handler found for mode event ‘Disarmed’
- Noob question: How do I have npm run start happen automatically when I boot
- Serial Module Install Failing
- Hub not responding to HTTP Notify
- Envisalink Connection Error: Undefined HOT 22
- Smartthings does not show devices (zones) HOT 1
- Honeywell Security Device not accessible in modern app HOT 1
- Issues w/new Smarthings Mobile App? HOT 1
- No child devices are scanning in
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartthings.