I will need a fresh raspberrypi install for zigbee2mqtt / 2021-06-11

2021-06-11 I will need a fresh raspberrypi install for zigbee2mqtt
I started looking at the instructions for running zigbee2mqtt and the instructions for installing npm/nodejs gave me a lot of error messages on the raspberrypi running in the utility closet and checking the smart meter.

It turns out it needs an upgrade from Raspbian jessie. This Raspberry Pi is dedicated to reading the smart meter since August 2016 and it has been running fine gathering the smart meter data.

The raspbian forums state that it is better to upgrade by reinstallation on a different SD card. So I guess it's time to rebuild the smartmeter Pi if I want it to run the zigbee sensor network.

Update:
I installed all the software on a linux laptop and now I have a running zigbee2mqtt.
koos@kernighan:~/src/zigbee2mqtt$ npm start

> zigbee2mqtt@1.19.1 start /home/koos/src/zigbee2mqtt
> node index.js

Zigbee2MQTT:info  2021-06-11 21:39:06: Logging to console and directory: '/home/koos/src/zigbee2mqtt/data/log/2021-06-11.21-39-05' filename: log.txt
Zigbee2MQTT:info  2021-06-11 21:39:06: Starting Zigbee2MQTT version 1.19.1 (commit #9bd46932)
Zigbee2MQTT:info  2021-06-11 21:39:06: Starting zigbee-herdsman (0.13.111)
Zigbee2MQTT:info  2021-06-11 21:39:08: zigbee-herdsman started
Zigbee2MQTT:info  2021-06-11 21:39:08: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210120,"transportrev":2},"type":"zStack3x0"}'
Zigbee2MQTT:info  2021-06-11 21:39:08: Currently 0 devices are joined:
Zigbee2MQTT:warn  2021-06-11 21:39:08: `permit_join` set to  `true` in configuration.yaml.
Zigbee2MQTT:warn  2021-06-11 21:39:08: Allowing new devices to join.
Zigbee2MQTT:warn  2021-06-11 21:39:08: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info  2021-06-11 21:39:08: Zigbee: allowing new devices to join.
Zigbee2MQTT:info  2021-06-11 21:39:08: Connecting to MQTT server at mqtt://testrouter.idefix.net
Zigbee2MQTT:info  2021-06-11 21:39:08: Connected to MQTT server
Zigbee2MQTT:info  2021-06-11 21:39:08: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
Zigbee2MQTT:info  2021-06-11 21:39:09: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"9bd46932","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210120,"transportrev":2},"type":"zStack3x0"},"log_level":"info","network":{"channel":11,"extendedPanID":"0x00124b0022a51f10","panID":6754},"permit_join":true,"version":"1.19.1"}'
And the data is available on the mqtt server:
koos@testrouter:~$ mosquitto_sub -t zigbee2mqtt/bridge/config
{"commit":"9bd46932","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210120,"transportrev":2},"type":"zStack3x0"},"log_level":"info","network":{"channel":11,"extendedPanID":"0x00124b0022a51f10","panID":6754},"permit_join":true,"version":"1.19.1"}
After that it's boring, because there are no zigbee sensors in the network. Those will come tomorrow according to the predictions from the postal service.

And for production I will configure mqtt with better security.

Tags: , ,

IPv6 check

Running test...
, reachable as koos+website@idefix.net. PGP encrypted e-mail preferred. PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers

RSS
Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated by $Id: newsitem.cgi,v 1.58 2022/12/12 15:34:31 koos Exp $ in 0.007798 seconds.