This shouldnt be a problem but I did try compiling myself and dont get any error or warning message.
My setup:
Arduino 1.8.5
Arduino AVR Boards by Arduino Version 1.6.23
Arduino UNO board or Elegoo UNO R3
-
Smart-ClimaSens
-
Ok, it was working after all.
Scanning from bash (hcitool lescan) does find the sensor:
But in Pimatic the sensor is not discovered…
I can see that the plugin starts scanning:
and with hciconfig I see this:
-
I have published a new version of the plugin (0.1.4), try update and scanning again.
If this does not work, try adding it manually with address “34:03:DE:43:85:69”.
Finally you can try changing the bluetooth adatper in the plugin config. -
I uninstalled the pluging and tried to install the new version
(after a reboot).
But now I can’t install the new version:also installing from the GUI give an error:
-
I think that I have made a failure updating the version.
Please try it again with version 0.1.5 now available. -
Sorry,
In the Plugin browser I see the new version:
Still an error in the GUI:
And from bash:
In the installed lpluggings it shows:
And after reboot still:
It also doesn’t scan for devices:
-
Somehow installing plugins went wrong.
Now I managed to install the new version 0.1.5.But still the plugin doesn’t find the sensor. The app does.
So how cab I manualy add the device with the macadress?
-
Go to device list and scroll down.
On the bottom click “add new device”.
Select the “ClimaSens” device.
Now activate the address button and insert the device address.
You can also activate battery, to see some data. -
Ok, thanks. I have made the device.
But I don’t receive any data. On my Smartphone with the app it do receive data so the sensor is working.And the raspberry pi sees the ClimaSens too (although it takes a long time to find it):
.
What can be wrong?
-
I think something is blocking your Bluetooth Adapter.
Try changing the Bluetooth Interface.
Go to plugins, select settings on ClimaSens and change hci0 to hci1.
Reboot your pi after changing and do not scan at the same time with hcitool, this will block the adapter.The sensor does broadcast it’s data every 30 seconds, so you should wait 1 to 2 min to safely receive some data.
-
I just did that:
Even after rebooting the Raspberry Pi no difference. Don’t get any values…
-
Its working now!
I looked in the plugin source and saw some commands there. I tried them in bash and saw that hcidump was not installed.
I installed it (sudo apt-get install bluez-hcidump) and after a reboot of the raspberry I am receiving data now.
-
Nice, great work.
Thank you for not giving up.