tomaae / homeassistant-mikrotik_router

Mikrotik router integration for Home Assistant
Apache License 2.0
309 stars 53 forks source link

[Bug] No Temperature Sensor (RB3011) #160

Closed jjmuriel closed 2 years ago

jjmuriel commented 2 years ago

Hi, After update a RB3011 from 6.49.X to 7.1 the Mikrotik Router lost the temperature sensor. There is a way to recover this sensor and add the voltage sensor @tomaae? Thanks.

System Health

version core-2021.12.10
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.0-10-amd64
arch x86_64
timezone America/Bogota
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 5000 Installed Version | 1.19.3 Stage | running Available Repositories | 938 Downloaded Repositories | 30
[admin@MikroTik-RB3011] > /system health print
Columns: NAME, VALUE, TYPE
#  NAME         VALUE  TYPE
0  voltage      23.5   V   
1  temperature  37     C
tomaae commented 2 years ago

yes, I'm aware that health does not work on rb3011. just upgraded mine to 7.1 recently just having issues with my dev env and didnt had time to look into it. Currently I have no idea why, since routeros output looks the same as on 450g where I developed 7.1 compatibility originally.

tomaae commented 2 years ago

Turns out it was just some HACS hiccup. Once I reinstalled master, both temp and voltage sensors are working.

jjmuriel commented 2 years ago

Thank you @tomaae. I Reinstalled the integration and temperature and voltage sensors are working again.