Categories
Programming Python VSCP vscp-python-send-heartbeat

New release: vscp-python-send-heartbeat (1.0.1)

A new package vscp-python-send-heartbeat has been released in version 1.0.1. It contains two scripts

send-mqtt-heartbeat.py

Send a VSCP heartbeat to a configured MQTT broker.

send-vscp-heartbeat.py

Send a VSCP heartbeat event to a configured VSCP server.

Both scripts can be configure on the command line, via a configuration file and using credentials from .netrc.



Categories
Programming Python pyvscptypes VSCP

New version of pyvscptypes (0.0.11)

A new version of pyvscptypes (0.0.11) has been released.

Module is available here https://pypi.org/project/pyvscptypes/

Repository is here https://github.com/grodansparadis/pyvscptypes

Categories
Programming Python VSCP

New version of pyvscpclasses (0.0.11)

A new version of pyvscpclasses (0.0.11) has been released.

Module is available here https://pypi.org/project/pyvscpclasses/

Repository is here https://github.com/grodansparadis/pyvscpclasses

  • Leaved alpha to stable
  • Added latest class definitions

Categories
node-red VSCP

Sunny day

When the sun beats my imagination. I did not expect this…

You also have access to the real time values. Check

MQTT broker: tcp://demo.vscp.org
Port: 8883 (websocket 9901) Both TLS
User: vscp
Password: secret
topic for illuminance west: vscp/FF:FF:FF:FF:FF:FF:FF:FE:B8:27:EB:8B:57:15:00:04/1040/25/#
topic for illuminance east: vscp/FF:FF:FF:FF:FF:FF:FF:FE:60:E3:27:1D:75:C3:00:05/1040/25/#

A ever growing list of open sensor data you can experiment with is here.

node-red flow is below for the lazy ones

[{"id":"4f7f7ce0c9ee9ca7","type":"mqtt in","z":"fc3745917f55f706","name":"Pi10 Illuminance","topic":"vscp/FF:FF:FF:FF:FF:FF:FF:FE:60:E3:27:1D:75:C3:00:05/1040/25/#","qos":"2","datatype":"json","broker":"5438645a.6577cc","nl":false,"rap":true,"rh":0,"x":200,"y":160,"wires":[["c7e7928594b63a4c"]]},{"id":"44fa65ca07a0ec0a","type":"mqtt in","z":"fc3745917f55f706","name":"Pi6 Illuminance","topic":"vscp/FF:FF:FF:FF:FF:FF:FF:FE:B8:27:EB:8B:57:15:00:04/1040/25/#","qos":"0","datatype":"json","broker":"5438645a.6577cc","nl":false,"rap":true,"rh":0,"x":200,"y":220,"wires":[["0bf41d450eec650c"]]},{"id":"2ae3b04bce2deedf","type":"ui_chart","z":"fc3745917f55f706","name":"","group":"75ad267648a3dd8a","order":29,"width":0,"height":0,"label":"Illuminense","chartType":"line","legend":"true","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"10000","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"x":730,"y":180,"wires":[[]]},{"id":"c7e7928594b63a4c","type":"change","z":"fc3745917f55f706","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.measurement.value","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"West","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":160,"wires":[["2ae3b04bce2deedf","0f2fd75cad6b38b5"]]},{"id":"0bf41d450eec650c","type":"change","z":"fc3745917f55f706","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.measurement.value","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"East","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":220,"wires":[["2ae3b04bce2deedf","4eb74601482304df"]]},{"id":"fdd45da3d7a83e54","type":"comment","z":"fc3745917f55f706","name":"Illuminense","info":"","x":190,"y":120,"wires":[]},{"id":"0f2fd75cad6b38b5","type":"ui_gauge","z":"fc3745917f55f706","name":"East","group":"bc8ce92a11431cd6","order":1,"width":"6","height":"6","gtype":"wave","title":"East","label":"lux","format":"{{msg.payload.toFixed(0)}}","min":0,"max":"10000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":710,"y":140,"wires":[]},{"id":"4eb74601482304df","type":"ui_gauge","z":"fc3745917f55f706","name":"West","group":"bc8ce92a11431cd6","order":1,"width":"6","height":"6","gtype":"wave","title":"West","label":"lux","format":"{{msg.payload.toFixed(0)}}","min":0,"max":"10000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":710,"y":220,"wires":[]},{"id":"18ece88b6a299764","type":"comment","z":"fc3745917f55f706","name":"UV Index","info":"","x":180,"y":300,"wires":[]},{"id":"1f731424a485e2e5","type":"mqtt in","z":"fc3745917f55f706","name":"Pi6 UV Index","topic":"vscp/FF:FF:FF:FF:FF:FF:FF:FE:B8:27:EB:8B:57:15:00:06/90/52/#","qos":"0","datatype":"json","broker":"5438645a.6577cc","nl":false,"rap":true,"rh":0,"x":190,"y":340,"wires":[["fe7de4cd09f6a342"]]},{"id":"fe7de4cd09f6a342","type":"change","z":"fc3745917f55f706","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.vscpData[2]","tot":"msg"},{"t":"set","p":"topic","pt":"msg","to":"UV Index","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":340,"wires":[["3a7b973e3c42f284","637a890eb491743a"]]},{"id":"3a7b973e3c42f284","type":"ui_gauge","z":"fc3745917f55f706","name":"UV Index","group":"bc8ce92a11431cd6","order":1,"width":"6","height":"6","gtype":"gage","title":"UV Index","label":"lux","format":"{{msg.payload.toFixed(0)}}","min":0,"max":"15","colors":["#00b500","#e6e600","#ca3838"],"seg1":"6","seg2":"11","x":720,"y":320,"wires":[]},{"id":"637a890eb491743a","type":"ui_chart","z":"fc3745917f55f706","name":"","group":"75ad267648a3dd8a","order":29,"width":0,"height":0,"label":"UV Index","chartType":"line","legend":"true","xformat":"HH:mm","interpolate":"linear","nodata":"","dot":false,"ymin":"0","ymax":"15","removeOlder":"12","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"x":720,"y":360,"wires":[[]]},{"id":"5438645a.6577cc","type":"mqtt-broker","name":"Local","broker":"localhost","port":"1883","clientid":"lynx","usetls":false,"compatmode":false,"protocolVersion":"4","keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","birthMsg":{},"closeTopic":"","closeQos":"0","closePayload":"","closeMsg":{},"willTopic":"","willQos":"0","willPayload":"","willMsg":{},"sessionExpiry":""},{"id":"75ad267648a3dd8a","type":"ui_group","name":"Environment","tab":"aa96f16dcd78f56f","order":1,"disp":true,"width":"18","collapse":false},{"id":"bc8ce92a11431cd6","type":"ui_group","name":"Measurements","tab":"aa96f16dcd78f56f","order":2,"disp":true,"width":"6","collapse":false},{"id":"aa96f16dcd78f56f","type":"ui_tab","name":"Environment","icon":"dashboard","disabled":false,"hidden":false}]
Categories
node-js node-red-contrib-vscp-tcp node.js VSCP

New version of the package node-red-contrib-vscp-tcp (1.2.7)

A new version of the package node-red-contrib-vscp-tcp (1.2.7) was published at 2021-09-07T12:05:59.098Z. The shasum of this package was c40952b55b6e36047b1517d3bd65e963401d72f7.
  • Fixed known security vulnerabilities
Categories
node-js node-vscp-tcp VSCP

New version of the package node-vscp-tcp (1.1.3)

A new version of the package node-vscp-tcp (1.1.3) was published at 2021-09-07T12:04:05.551Z. The shasum of this package was 4fef9146095aca93d1c0c28d0176b63da9b51d78.
  • Fixed known security vulnerabilities
Categories
node-red node-red-contrib-vscp VSCP

New version of the package node-red-contrib-vscp (1.2.7)

A new version of the package node-red-contrib-vscp (1.2.7) was published at 2021-09-07T12:00:57.044Z from
87.249.187.214. The shasum of this package was cb79a7488eb0ffcba06a04063a836b8400229a56.
  • Fixed known security vulnerabilities
Categories
node-js node-vscp VSCP

New version of the package node-vscp (1.1.20)

A new version of the package node-vscp (1.1.20) was published at 2021-09-07T11:58:09.680Z. The shasum of this package was 964e9773d181f6bfb8d01b240fd61042a14551d2.
  • Fixed known security vulnerabilities
Categories
node-red node-red-contrib-canal VSCP

New version of the package node-red-contrib-canal (1.0.9)

A new version of the package node-red-contrib-canal (1.0.9) was published at 2021-09-07T11:55:17.904Z. The shasum of this package was 71279c6895d6445594593e27c2d93a5c76746798.
  • Fixed known security vulnerabilities
Categories
MQTT VSCP

Added live #VSCP #MQTT power demo

Added a live power demo to the existing demo pages. This demo show the actual power usage in our house/office. Data is collected from a smart power meter with an open interface that is installed by our utility company Ellevio.

You can read more about the interfacing of this meter here. On this page you can also find a link to a Python script that does the job if you prefer using it instead of the VSCP driver approach.

Measurements are collected by a VSCP daemon driver vscpl2drv-energy-p1 and sent by the VSCP daemon to the MQTT broker on the vscp demo server. The VSCP daemon collecting data is installed on a Raspberry Pi 3B+ running Raspbian.

More demo data is on the way.