@juntiedt Problem solved!
Latest posts made by juntiedt
-
http://localhost:8080/json/all - node-red Problemsposted in Official API - Evok
Hallo,
I have installed EVOK on Raspian bullseye with no problems.
I am running node-red and there is one problem with EVOK.
websocket works ok and all http requests are working except http://localhost:8080/json/all.
Sometimes it works once after rebooting but then it looses connection to the server and node-red hangs up.
What causes this problem?
Any help appreciated! -
8-Relay Addon EMO-R8 on unipi 1.1.lightposted in Unipi 1 - First Generation
is it possible to connect the 8-Relay Addon EMO-R8 to unipi light via the GPIO Connector and using evok?
-
RE: Bullseye and evok running?posted in Official API - Evok
I went back to buster. Now evok works ok!
Bullseye definitely needs some work. -
Bullseye and evok running?posted in Official API - Evok
I want to install evok on raspi with bullseye.
Does EVOK run on bullseye?
If so, can I use the EVOK version on github? -
Unipi 1.1 light Raspi Node-Red SW Image: wrong passwordposted in Official API - Evok
I cannot connect to the new SW image with user "unipi" and pw "unipi.technology"
I tried it with putty and directly connected to the RaspiWhat is the problem?
-
RE: filter websocket input in order to get all devices except tempposted in Official API - Evok
one important thing at the end:
as soon as you apply a filter the received msg.payload from websocket comes in an array.
this means:
before the applied filter you could your device with msg.payload.dev
with applied filter you must read the device as msg.payload[0].dev !!! -
RE: filter websocket input in order to get all devices except tempposted in Official API - Evok
I have solved the problem. Sorry for the quick post.
Attached please find the command flow for filter[{"id":"46e364e3.e7c2ec","type":"function","z":"cad50249.94c0e","name":"","func":"msg.payload = {\"cmd\":\"filter\", \"devices\":[\"ai\",\"input\",\"ao\",\"relay\"]}; \nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":280,"y":860,"wires":[["a3e4b046.69f93","c16f715d.8fbe1"]]},{"id":"c16f715d.8fbe1","type":"websocket out","z":"cad50249.94c0e","name":"ws://localhost:8080/ws","server":"","client":"84e45387.411c2","x":540,"y":860,"wires":[]},{"id":"418d6f8c.c0e61","type":"inject","z":"cad50249.94c0e","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":"5","topic":"","payload":"","payloadType":"date","x":110,"y":860,"wires":[["46e364e3.e7c2ec"]]},{"id":"84e45387.411c2","type":"websocket-client","z":"","path":"ws://localhost:8080/ws","tls":"","wholemsg":"false"}] -
filter websocket input in order to get all devices except tempposted in Official API - Evok
I want to receive all devices via websocket except one wire sensors. How has the filter command to look like?
All devices but temp or temp and no other device.I am using node-red with the websocket set command which works ok, but the filter command seems not to work.
Any help appreciated.
-
RE: one-wire sensor with 3 cables versus one wire sensors with 4 cablesposted in Other Peripherals
thanks for your information.
I have connected a 4 wire cable very close to the three wire sensor and connected the data line to 2 wires in order to use the hub. At the moment it works.