Comments (5)
I have remove the volume and the image, repull the image, recreate the volume and it work !
Thanks for your help !!
See you,
Benjamin.
from zwave2mqtt.
from zwave2mqtt.
Hi, thanks for your help.
I have try your all docker image form docker-hub without success. So I have try with your repo to build the app (npm install). And to finish, clone your Zwave2mqtt-docker and build from this source.
All installs went well but none worked properly on my Rpi0w.
Thanks,
Benjamin
from zwave2mqtt.
I have just successfully installed it on my Rpi 3 Model B+ following the "manual" install:
# Install Openzwave
wget "https://github.com/ekarak/openzwave-debs-raspbian/raw/master/v1.4.79/openzwave_1.4.79.gfaea7dd_armhf.deb"
wget "https://github.com/ekarak/openzwave-debs-raspbian/raw/master/v1.4.79/libopenzwave1.3_1.4.79.gfaea7dd_armhf.deb"
wget "https://github.com/ekarak/openzwave-debs-raspbian/raw/master/v1.4.79/libopenzwave1.3-dev_1.4.79.gfaea7dd_armhf.deb"
sudo dpkg -i *openzwave*.deb
export LD_LIBRARY_PATH=/usr/local/lib
sudo sed -i '$a LD_LIBRARY_PATH=/usr/local/lib' /etc/environment
sudo ldconfig
# Clone and build app
git clone https://github.com/robertsLando/Zwave2Mqtt.git
cd Zwave2Mqtt
npm install
npm run build
# Start app
npm start
I have also tried with docker and it works:
pi@raspberrypi:~ $ sudo docker run --rm -it -p 8091:8091 --device=/dev/ttyACM0 --mount source=zwave2mqtt,target=/usr/src/app robertslando/zwave2mqtt:arm32v7-latest
Unable to find image 'robertslando/zwave2mqtt:arm32v7-latest' locally
arm32v7-latest: Pulling from robertslando/zwave2mqtt
d8d287cbc574: Pull complete
74af0ebc085c: Pull complete
6e873d5f914a: Pull complete
a2075eca02a7: Pull complete
b409dfb16e6e: Pull complete
58aa07503bf7: Pull complete
Digest: sha256:2175669ef69d5ede28b0a0a20799b78feae6b05bbd6bf79cb666edefe91b56bd
Status: Downloaded newer image for robertslando/zwave2mqtt:arm32v7-latest
z2m:Store settings.json not found +0ms
z2m:Store scenes.json not found +10ms
z2m:App Application path:/usr/src/app +0ms
z2m:Gateway Gateway needs both MQTT and Zwave Configuration to work +0ms
z2m:App Listening on port 8091 +0ms
GET / 200 21.211 ms - 1432
GET /static/js/manifest.2ae2e69a05c33dfc65f8.js 200 12.001 ms - 857
GET /static/css/app.6767e8280089a963b7ff2532eaea9424.css 200 12.656 ms - 210253
GET /static/js/app.dd547788f2afe0892d2a.js 200 10.006 ms - 49171
GET /static/js/vendor.bdbd6d4fd3cc9baa1adb.js 200 13.290 ms - 812044
GET /static/logo.png 200 7.817 ms - 10014
z2m:App New connection xlmDmozEgQJ7b3hbAAAA +4s
GET /static/favicons/favicon-32x32.png 200 7.778 ms - 1831
I don't have a Pi0w to test this but if it doesn't work using docker it must work by compiling the library yourself (first method I show you there, maybe you would need to compile openzwave yourself too)
Let me know
** UPDATE **
When you run an image with the script I have provided remember to delete the volume because it contains the old executable and it would cause errors. So in your case:
docker volume rm zwave2mqtt
docker run --rm -it -p 8091:8091 --device=/dev/ttyACM0 --mount source=zwave2mqtt,target=/usr/src/app robertslando/zwave2mqtt:arm32v6-latest
Try to run these commands first @bbenjamin11
from zwave2mqtt.
I have also just pushed a commit (e8029dc) to better handle logs of 404 Not Found
errors.
Anyway this doesn't fix your problem, you receive 302 because I redirect by default all 404 to /. I think you forgot to run the command npm run build
or maybe you are missing something because everything works in my tests
from zwave2mqtt.
Related Issues (20)
- I have integrated a Schlage FE599 and having MQTT issues HOT 3
- [question] Scenes from z-wave.me zme_wcd2 HOT 8
- [question] Webinterface missing after update HOT 8
- [bug] FGWPE FGWPF wrong instant consumption HOT 5
- [feat] Add support for '/' in MQTT prefix HOT 4
- [question] cannot get zwave2mqtt to save changes HOT 6
- no zwave updates is sent to mqtt HOT 8
- [question] Append-mode for zwave logging HOT 5
- [question] Does zwave2mqtt support symlinks? HOT 13
- MQTT retain setting per item in Gateway config [feat] HOT 3
- FGBS001 status changed not relayed to MQTT HOT 3
- Device discovery and enumeration differs from Zwave SDK PC Controller HOT 7
- devices doesn't appear on home assistant?[question] HOT 13
- [question] Lights status not updated when changed physically HOT 7
- [bug] Adding assocations does not seem to work HOT 1
- [question] Availability state not set in HA HOT 3
- Mesh not drawn correctly when removed node is part of mesh [bug] HOT 4
- OpenZwave newer Versions in Docker Image [question] [featurerequest] HOT 2
- [question] Danfoss LC13 not discovering all values HOT 1
- [question] Run privileged necessary? HOT 7
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 zwave2mqtt.