I have tried everything I can think of but when I look at the log for any zigbee2mqtt device I just get a message saying "No data available in table"
I am pretty sure I used to get some log history here, and I do for all other devices. The devices function OK on the dashboard and I can reference them in the LUA and other events - they look like they work, just have no history. This applies to all zignee2mqtt devices, my zwave and lightwave devices all work ok?
Does anyone have the same or any suggestions?
Thanks
Peter
Zibbee2mqtt device log / history
Moderator: leecollings
Re: Zibbee2mqtt device log / history
Are these entries present in your configuration.yaml?
And is access granted to that directory (rw) for the user with which zigbee2mqtt is started?
That is also present in the GUI under Settings -> Advanced
Code: Select all
log_level: info
log_directory: /var/log/zigbee
log_file: log.txt
log_output:
- console
- file
That is also present in the GUI under Settings -> Advanced
-
- Posts: 31
- Joined: Saturday 08 August 2015 0:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Oxfordshire, UK
- Contact:
Re: Zibbee2mqtt device log / history
Hi
I now have those in my configuration file and I have created a directory:
drwxrwxr-x 2 pi adm 4096 Sep 26 14:18 zigbee
But there is nothing in it yet. I am getting the info in the console OK:
Info MQTT publish: topic 'zigbee2mqtt/Cave Sensor', payload '{"battery":100,"humidity":57.2,"linkquality":44,"temperature":22.5,"voltage":2900}'
Info MQTT publish: topic 'zigbee2mqtt/Cave Sensor', payload '{"battery":100,"humidity":55.6,"linkquality":44,"temperature":22.5,"voltage":2900}'
Actually, temperature sensors are creating the graphs and log OK - it is the switches, motion sensors and buttons that do not have any history.
p.
I now have those in my configuration file and I have created a directory:
drwxrwxr-x 2 pi adm 4096 Sep 26 14:18 zigbee
But there is nothing in it yet. I am getting the info in the console OK:
Info MQTT publish: topic 'zigbee2mqtt/Cave Sensor', payload '{"battery":100,"humidity":57.2,"linkquality":44,"temperature":22.5,"voltage":2900}'
Info MQTT publish: topic 'zigbee2mqtt/Cave Sensor', payload '{"battery":100,"humidity":55.6,"linkquality":44,"temperature":22.5,"voltage":2900}'
Actually, temperature sensors are creating the graphs and log OK - it is the switches, motion sensors and buttons that do not have any history.
p.
Re: Zibbee2mqtt device log / history
Are you running zigbee2mqtt as a service?
Try remove the ' - console' line, change access to zigbee dir to 777 and restart zigbee2mqtt
In Domoticz at Setup -> Settings -> tab Log History there is Light/Switches setting. Is that more then 1?
Try remove the ' - console' line, change access to zigbee dir to 777 and restart zigbee2mqtt
In Domoticz at Setup -> Settings -> tab Log History there is Light/Switches setting. Is that more then 1?
-
- Posts: 31
- Joined: Saturday 08 August 2015 0:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Oxfordshire, UK
- Contact:
Re: Zibbee2mqtt device log / history
Yes, running as a service through sysctrl and there is 7 set in the switch log.
A quick reboot later and I have a log.txt in the folder, but just the same as was in the console log on the front end. No mention of any errors or anythinf that would give a clue as to why the log is not being populated in domoticz. I think switches put their entries in the lightning in the database - I will check in there to see what's in there with the row number = device.
p.
A quick reboot later and I have a log.txt in the folder, but just the same as was in the console log on the front end. No mention of any errors or anythinf that would give a clue as to why the log is not being populated in domoticz. I think switches put their entries in the lightning in the database - I will check in there to see what's in there with the row number = device.
p.
-
- Posts: 38
- Joined: Saturday 28 January 2017 12:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.9700
- Location: Netherlands
- Contact:
Re: Zibbee2mqtt device log / history
I have the same observation.
Any progress on this?
Any progress on this?
Raspberry Pi3; Razberry V2; RFlink; PIco UPS HV3.0
-
- Posts: 8
- Joined: Thursday 12 July 2018 9:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10854
- Location: Germany
- Contact:
Re: Zibbee2mqtt device log / history
Me too, any news?
Who is online
Users browsing this forum: No registered users and 1 guest