發表文章

目前顯示的是有「zigbee2mqtt」標籤的文章

zigbee2mqtt, node red, influxdb and grafana

圖片
 the iotstak comes with infuxDB:a data base very similar to firebase, which you don't need to setup the database every data type to make it work. But you still need to setup a name of database, this is done with a terminal and command, there is not yet web like configuration page. To access the ssh in a container, easy way is to go through portainer Once connect to ssh, type in influx to get into database, then you can use SQL like command to create you database. But luckily, there is a program:  https://github.com/CymaticLabs/InfluxDBStudio which can do the database things easier. The defaultuser:password of influxDB in IOTstack is : nordred: nodered Now, back to node red. To put data into influxDB you have to select the influxDB out the influxDB in means to get data from influxDB into nodered. then you have to config the server, the port of influxDB is 8086 Once server set, the measurement is the page where the data is loged.(you can set it here, no need to set this in influxDB)