Is it possible to have a non docker version of this? I have a raspberry pi zero, and running docker on that thing is difficult to say the least.
So I decided to just use my other Raspberry Pi 3 instead, and docker and the application works as expected. My only issue now is how do I add my flora devices?
On the dashboard I have the following:
When I click on the history of any of the devices, I get the following:
Cannot read property ‘info’ of undefined
TypeError: Cannot read property ‘info’ of undefined
at Object.module.exports.getDeviceInfo (/usr/src/app/miio/miio.js:1540:24)
at /usr/src/app/routes/devices.js:60:23
at Object.module.exports.getDeviceTotalState (/usr/src/app/miio/miio.js:1487:5)
at /usr/src/app/routes/devices.js:59:10
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at next (/usr/src/app/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at /usr/src/app/node_modules/express/lib/router/index.js:281:22
at param (/usr/src/app/node_modules/express/lib/router/index.js:354:14)
at param (/usr/src/app/node_modules/express/lib/router/index.js:365:14)
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:410:3)
at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10)
at Function.handle (/usr/src/app/node_modules/express/lib/router/index.js:174:3)
at router (/usr/src/app/node_modules/express/lib/router/index.js:47:12)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
To further investigate this, I see that after I start the docker container I am no longer able to successfully run hcitool lescan. I get the following error:
pi@raspberrypi:~ $ sudo hcitool lescan
Set scan parameters failed: Input/output error
Restarting the bluetooth service fixes this, but it’s back the minute I restart the container.
Update to my last post:
I finally have this working by running test2 version. My Flora sensors are showing up in SmartThings, however they are not displaying battery life and where there should be version number is blank. Also, the Lux value is completely off.
I did everything according to the guide.
Air purifier and DOWNLIGHT Philips lamp were found at MI CONECTOR.
After setting up MI CONECTOR in ST APP (I registered IP) the devices do not show up on my devices.
MI CONNECTOR
@fison67 Please add roborock.vacuum.s5e. It’s the Roborock S5 Max model and is very similar to both the S5 and the S6.
Thanks
@fison67 is it possible to change the update interval of the connector? I’m running a pi-hole and the query log is hammered with graph-eu01-euwest1.api.smartthings.com all the time, and if I check the live logging I can see that the Mi Floras update their values every fifth second and that seems a lot?
00:00:09 dnsmasq[22887]: query[A] graph-eu01-euwest1.api.smartthings.com from 192.168.86.1
00:00:09 dnsmasq[22887]: query[AAAA] graph-eu01-euwest1.api.smartthings.com from 192.168.86.1
00:00:09 dnsmasq[22887]: query[A] graph-eu01-euwest1.api.smartthings.com from 192.168.86.1
00:00:09 dnsmasq[22887]: query[AAAA] graph-eu01-euwest1.api.smartthings.com from 192.168.86.1
00:00:10 dnsmasq[22887]: query[A] graph-eu01-euwest1.api.smartthings.com from 192.168.86.1
00:00:10 dnsmasq[22887]: query[AAAA] graph-eu01-euwest1.api.smartthings.com from 192.168.86.1
00:00:14 dnsmasq[22887]: query[A] graph-eu01-euwest1.api.smartthings.com from 192.168.86.1
00:00:14 dnsmasq[22887]: query[A] graph-eu01-euwest1.api.smartthings.com from 192.168.86.1
00:00:14 dnsmasq[22887]: query[AAAA] graph-eu01-euwest1.api.smartthings.com from 192.168.86.1
00:00:14 dnsmasq[22887]: query[AAAA] graph-eu01-euwest1.api.smartthings.com from 192.168.86.1
3:33:59 PM: debug monitor : {“lux”:260,“moisture”:20,“fertility”:289,“temperature”:20.7}
3:33:54 PM: debug monitor : {“lux”:260,“moisture”:20,“fertility”:290,“temperature”:20.7}
3:33:49 PM: debug monitor : {“lux”:260,“moisture”:20,“fertility”:290,“temperature”:20.7}
3:33:44 PM: debug monitor : {“lux”:260,“moisture”:20,“fertility”:290,“temperature”:20.7}
3:33:39 PM: debug monitor : {“lux”:241,“moisture”:20,“fertility”:290,“temperature”:20.7}
3:33:29 PM: debug monitor : {“lux”:241,“moisture”:20,“fertility”:290,“temperature”:20.7}
3:33:09 PM: debug monitor : {“lux”:241,“moisture”:20,“fertility”:289,“temperature”:20.5}
3:33:04 PM: debug monitor : {“lux”:241,“moisture”:20,“fertility”:289,“temperature”:20.5}
3:32:59 PM: debug monitor : {“lux”:245,“moisture”:20,“fertility”:289,“temperature”:20.5}
3:32:54 PM: debug monitor : {“lux”:245,“moisture”:20,“fertility”:289,“temperature”:20.5}
3:32:49 PM: debug monitor : {“lux”:245,“moisture”:20,“fertility”:289,“temperature”:20.7}
3:32:39 PM: debug monitor : {“lux”:245,“moisture”:20,“fertility”:289,“temperature”:20.7}
3:32:14 PM: debug monitor : {“lux”:245,“moisture”:20,“fertility”:289,“temperature”:20.7}
3:32:09 PM: debug monitor : {“lux”:245,“moisture”:20,“fertility”:289,“temperature”:20.7}
3:32:04 PM: debug monitor : {“lux”:245,“moisture”:20,“fertility”:289,“temperature”:20.7}
3:31:59 PM: debug monitor : {“lux”:245,“moisture”:20,“fertility”:289,“temperature”:20.7}
3:31:54 PM: debug monitor : {“lux”:245,“moisture”:20,“fertility”:289,“temperature”:20.7}
3:31:49 PM: debug monitor : {“lux”:245,“moisture”:20,“fertility”:289,“temperature”:20.7}
@fison67 Can I send a clean command with coordinates through Webcore like this?
edit: Edited for clarity.
Don’t use webcore but you can easily edit the device driver to do this
I actually use Hubitat now but when I have some spare time this weekend, I’ll edit the ST device handler so you can pass in coordinates to a cleanArea command. Which device handler are you using? vacuum or vacuum2?
I can’t add device and also in setting page can’t save it loading alway after press register button
log not update after press any register button in setting page
I am using vacuum2, thank you!
Hi.
Update a docker image 0.0.5.
Hi
Update a docker image 0.0.5 version.
Have a look your st ide logs.
a. Install a dth, smartapp
b. Select a right ip on setting page of mi connector web.
Hi
Update a docker image 0.0.5 version & Smartapp.
Thanks for any help with this!
Got it, thanks mate!
How to do the update the docker image to version 0.0.5