Nuimo Integration

Hi again,

i managed to get it running again.
Long story short. It was the raspberry bluetooth stack problem. I now use and a bluetooth dongle on my raspberry zero w and run this setup now for 2 days whitout any problem.

Thanks again for your help @pfink

Chris

Hi pfink,
unfortatnely due a new job I didnt hat any time to look after your suggestions. Now after new years eve I made a fresh install of openhab and your integration, still Iā€™ve got the problems with the disconnetions after a few minutes. Like in case of @spawny0815 there is no reconnection after the connection gots lost.

Dou you think it would be a good idea to buy a bluetooth stick ?
I use an raspberry 3 (both openhab and your script run local on the same pi.

Raspbian GNU/Linux 10 (buster)
Python 3.7.3
Bluetooth 5.50
Openhab 2.50

And your asked for the debug script last time, thats why I add one session:

Debug-Log
2020-01-03 22:57:10.406 INFO config - <module>: Loaded config file from config.yml
2020-01-03 22:57:15.265 INFO main - controller_discovered: Discovered Nuimo controller: f7:28:a8:0e:06:3e
2020-01-03 22:57:15.272 INFO main - controller_discovered: Found configured Nuimo with MAC address F7:28:A8:0E:06:3E
2020-01-03 22:57:15.312 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): localhost:8081
2020-01-03 22:57:15.826 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 5124
2020-01-03 22:57:15.843 DEBUG app_builder - compare_sitemap_config: Sitemap configuration does not match. Value of key name differs or key is not available in other sitemap
2020-01-03 22:57:15.852 INFO model - __init__: Create app: Multiroom Audio System(parent: None)
2020-01-03 22:57:15.858 INFO model - __init__: Create app: Sonos BĆ¼ro(parent: <nuimo_menue.model.App object at 0x74b86970>)
2020-01-03 22:57:15.863 INFO model - __init__: Create app: Sonos KĆ¼che(parent: <nuimo_menue.model.App object at 0x74b86970>)
2020-01-03 22:57:15.866 INFO model - __init__: Create app: BĆ¼ro_Deckenlampe Dimmen(parent: None)
2020-01-03 22:57:15.870 INFO model - __init__: Create app: BĆ¼rolampe(parent: None)
2020-01-03 22:57:15.875 INFO listener - started_connecting: Connecting...
2020-01-03 22:57:28.101 INFO main - initialize_controller: Controller and Listener (re-)initialized!
2020-01-03 22:57:29.395 INFO listener - connect_failed: Connecting failed!
2020-01-03 22:57:31.043 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:31.047 DEBUG listener - handleSliders: http://localhost:8081/restSonos_Buero_Volume/state
2020-01-03 22:57:31.088 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): localhost:8081
2020-01-03 22:57:31.163 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/items/Sonos_Buero_Volume/state HTTP/1.1" 200 2
2020-01-03 22:57:31.176 DEBUG listener - handleSliders: Raw item state: 17
2020-01-03 22:57:31.208 DEBUG listener - handleSliders: Old state: 17
2020-01-03 22:57:31.211 DEBUG listener - handleSliders: New state: 16
2020-01-03 22:57:31.213 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:31.325 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:31.361 DEBUG listener - handleSliders: Old state: 16
2020-01-03 22:57:31.372 DEBUG listener - handleSliders: New state: 15
2020-01-03 22:57:31.375 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:31.474 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:31.494 DEBUG listener - handleSliders: Old state: 15
2020-01-03 22:57:31.497 DEBUG listener - handleSliders: New state: 14
2020-01-03 22:57:31.510 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:31.615 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:31.670 DEBUG listener - handleSliders: Old state: 14
2020-01-03 22:57:31.674 DEBUG listener - handleSliders: New state: 13
2020-01-03 22:57:31.676 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:31.770 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:32.745 DEBUG listener - handleSliders: Old state: 13
2020-01-03 22:57:32.749 DEBUG listener - handleSliders: New state: 12
2020-01-03 22:57:32.756 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:32.841 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:32.942 DEBUG listener - handleSliders: Old state: 12
2020-01-03 22:57:32.944 DEBUG listener - handleSliders: New state: 11
2020-01-03 22:57:32.946 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:33.093 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:33.120 DEBUG listener - handleSliders: Old state: 11
2020-01-03 22:57:33.142 DEBUG listener - handleSliders: New state: 10
2020-01-03 22:57:33.143 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:33.280 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:34.405 DEBUG listener - handleSliders: Old state: 10
2020-01-03 22:57:34.407 DEBUG listener - handleSliders: New state: 11
2020-01-03 22:57:34.552 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:34.618 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:34.652 DEBUG listener - handleSliders: Old state: 11
2020-01-03 22:57:34.655 DEBUG listener - handleSliders: New state: 12
2020-01-03 22:57:34.660 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:34.793 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:34.811 DEBUG listener - handleSliders: Old state: 12
2020-01-03 22:57:34.813 DEBUG listener - handleSliders: New state: 14
2020-01-03 22:57:34.832 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:35.009 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:35.041 DEBUG listener - handleSliders: Old state: 14
2020-01-03 22:57:35.046 DEBUG listener - handleSliders: New state: 15
2020-01-03 22:57:35.048 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:35.159 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:35.179 DEBUG listener - handleSliders: Old state: 15
2020-01-03 22:57:35.181 DEBUG listener - handleSliders: New state: 16
2020-01-03 22:57:35.185 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:35.275 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:35.377 DEBUG listener - handleSliders: Old state: 16
2020-01-03 22:57:35.379 DEBUG listener - handleSliders: New state: 17
2020-01-03 22:57:35.381 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:35.523 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:35.564 DEBUG listener - handleSliders: Old state: 17
2020-01-03 22:57:35.566 DEBUG listener - handleSliders: New state: 18
2020-01-03 22:57:35.569 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:35.650 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:35.676 DEBUG listener - handleSliders: Old state: 18
2020-01-03 22:57:35.678 DEBUG listener - handleSliders: New state: 20
2020-01-03 22:57:35.680 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:35.831 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:35.858 DEBUG listener - handleSliders: Old state: 20
2020-01-03 22:57:35.873 DEBUG listener - handleSliders: New state: 21
2020-01-03 22:57:35.877 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:36.038 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:36.069 DEBUG listener - handleSliders: Old state: 21
2020-01-03 22:57:36.091 DEBUG listener - handleSliders: New state: 22
2020-01-03 22:57:36.094 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:36.202 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:36.404 DEBUG listener - handleSliders: Old state: 22
2020-01-03 22:57:36.408 DEBUG listener - handleSliders: New state: 25
2020-01-03 22:57:36.410 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:36.527 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:36.562 DEBUG listener - handleSliders: Old state: 25
2020-01-03 22:57:36.565 DEBUG listener - handleSliders: New state: 27
2020-01-03 22:57:36.570 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:36.696 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:36.712 DEBUG listener - handleSliders: Old state: 27
2020-01-03 22:57:36.713 DEBUG listener - handleSliders: New state: 28
2020-01-03 22:57:36.714 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:36.837 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:36.990 DEBUG listener - handleSliders: Old state: 28
2020-01-03 22:57:36.996 DEBUG listener - handleSliders: New state: 30
2020-01-03 22:57:37.009 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:37.108 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:37.119 DEBUG listener - handleSliders: Old state: 30
2020-01-03 22:57:37.132 DEBUG listener - handleSliders: New state: 33
2020-01-03 22:57:37.136 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:37.205 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:37.242 DEBUG listener - handleSliders: Old state: 33
2020-01-03 22:57:37.244 DEBUG listener - handleSliders: New state: 35
2020-01-03 22:57:37.246 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:37.331 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:37.378 DEBUG listener - handleSliders: Old state: 35
2020-01-03 22:57:37.380 DEBUG listener - handleSliders: New state: 36
2020-01-03 22:57:37.381 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:37.452 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:37.624 DEBUG listener - handleSliders: Old state: 36
2020-01-03 22:57:37.630 DEBUG listener - handleSliders: New state: 38
2020-01-03 22:57:37.637 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:37.941 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:37.960 DEBUG listener - handleSliders: Old state: 38
2020-01-03 22:57:37.963 DEBUG listener - handleSliders: New state: 42
2020-01-03 22:57:37.966 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:38.102 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:38.113 DEBUG listener - handleSliders: Old state: 42
2020-01-03 22:57:38.114 DEBUG listener - handleSliders: New state: 44
2020-01-03 22:57:38.118 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:38.242 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:38.309 DEBUG listener - handleSliders: Old state: 44
2020-01-03 22:57:38.310 DEBUG listener - handleSliders: New state: 49
2020-01-03 22:57:38.311 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:38.378 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:38.403 DEBUG listener - handleSliders: Old state: 49
2020-01-03 22:57:38.407 DEBUG listener - handleSliders: New state: 51
2020-01-03 22:57:38.408 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:38.475 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:38.696 DEBUG listener - handleSliders: Old state: 51
2020-01-03 22:57:38.702 DEBUG listener - handleSliders: New state: 56
2020-01-03 22:57:38.707 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:38.776 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:39.133 DEBUG listener - handleSliders: Old state: 56
2020-01-03 22:57:39.140 DEBUG listener - handleSliders: New state: 57
2020-01-03 22:57:39.143 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:39.193 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:41.235 DEBUG listener - handleSliders: Old state: 57
2020-01-03 22:57:41.240 DEBUG listener - handleSliders: New state: 56
2020-01-03 22:57:41.242 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:41.354 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:41.380 DEBUG listener - handleSliders: Old state: 56
2020-01-03 22:57:41.386 DEBUG listener - handleSliders: New state: 55
2020-01-03 22:57:41.394 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:41.558 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:41.572 DEBUG listener - handleSliders: Old state: 55
2020-01-03 22:57:41.601 DEBUG listener - handleSliders: New state: 54
2020-01-03 22:57:41.605 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:41.709 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:41.745 DEBUG listener - handleSliders: Old state: 54
2020-01-03 22:57:41.747 DEBUG listener - handleSliders: New state: 52
2020-01-03 22:57:41.751 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:41.811 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:41.831 DEBUG listener - handleSliders: Old state: 52
2020-01-03 22:57:41.837 DEBUG listener - handleSliders: New state: 51
2020-01-03 22:57:41.844 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:42.285 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:42.324 DEBUG listener - handleSliders: Old state: 51
2020-01-03 22:57:42.330 DEBUG listener - handleSliders: New state: 49
2020-01-03 22:57:42.340 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:42.414 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:42.447 DEBUG listener - handleSliders: Old state: 49
2020-01-03 22:57:42.449 DEBUG listener - handleSliders: New state: 48
2020-01-03 22:57:42.456 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:42.536 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:42.547 DEBUG listener - handleSliders: Old state: 48
2020-01-03 22:57:42.551 DEBUG listener - handleSliders: New state: 47
2020-01-03 22:57:42.560 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:42.647 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:42.681 DEBUG listener - handleSliders: Old state: 47
2020-01-03 22:57:42.686 DEBUG listener - handleSliders: New state: 45
2020-01-03 22:57:42.694 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:42.808 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:42.814 DEBUG listener - handleSliders: Old state: 45
2020-01-03 22:57:42.817 DEBUG listener - handleSliders: New state: 44
2020-01-03 22:57:42.821 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:42.879 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:42.895 DEBUG listener - handleSliders: Old state: 44
2020-01-03 22:57:42.898 DEBUG listener - handleSliders: New state: 43
2020-01-03 22:57:42.905 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:42.978 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:42.994 DEBUG listener - handleSliders: Old state: 43
2020-01-03 22:57:43.000 DEBUG listener - handleSliders: New state: 42
2020-01-03 22:57:43.004 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:43.080 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:43.112 DEBUG listener - handleSliders: Old state: 42
2020-01-03 22:57:43.114 DEBUG listener - handleSliders: New state: 41
2020-01-03 22:57:43.117 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:43.227 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:43.267 DEBUG listener - handleSliders: Old state: 41
2020-01-03 22:57:43.272 DEBUG listener - handleSliders: New state: 40
2020-01-03 22:57:43.275 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:43.344 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:43.370 DEBUG listener - handleSliders: Old state: 40
2020-01-03 22:57:43.375 DEBUG listener - handleSliders: New state: 39
2020-01-03 22:57:43.377 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:43.482 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:43.507 DEBUG listener - handleSliders: Old state: 39
2020-01-03 22:57:43.509 DEBUG listener - handleSliders: New state: 38
2020-01-03 22:57:43.513 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:43.589 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:43.609 DEBUG listener - handleSliders: Old state: 38
2020-01-03 22:57:43.613 DEBUG listener - handleSliders: New state: 37
2020-01-03 22:57:43.614 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:43.780 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:43.811 DEBUG listener - handleSliders: Old state: 37
2020-01-03 22:57:43.813 DEBUG listener - handleSliders: New state: 36
2020-01-03 22:57:43.814 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:43.891 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:43.915 DEBUG listener - handleSliders: Old state: 36
2020-01-03 22:57:43.919 DEBUG listener - handleSliders: New state: 35
2020-01-03 22:57:43.923 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:44.034 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:44.063 DEBUG listener - handleSliders: Old state: 35
2020-01-03 22:57:44.067 DEBUG listener - handleSliders: New state: 34
2020-01-03 22:57:44.070 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:44.147 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:44.164 DEBUG listener - handleSliders: Old state: 34
2020-01-03 22:57:44.167 DEBUG listener - handleSliders: New state: 33
2020-01-03 22:57:44.170 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:44.260 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:44.278 DEBUG listener - handleSliders: Old state: 33
2020-01-03 22:57:44.280 DEBUG listener - handleSliders: New state: 32
2020-01-03 22:57:44.281 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:44.381 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:44.398 DEBUG listener - handleSliders: Old state: 32
2020-01-03 22:57:44.403 DEBUG listener - handleSliders: New state: 31
2020-01-03 22:57:44.407 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:44.506 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:44.527 DEBUG listener - handleSliders: Old state: 31
2020-01-03 22:57:44.531 DEBUG listener - handleSliders: New state: 30
2020-01-03 22:57:44.541 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:44.634 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:44.647 DEBUG listener - handleSliders: Old state: 30
2020-01-03 22:57:44.648 DEBUG listener - handleSliders: New state: 29
2020-01-03 22:57:44.651 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:44.715 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:44.734 DEBUG listener - handleSliders: Old state: 29
2020-01-03 22:57:44.737 DEBUG listener - handleSliders: New state: 28
2020-01-03 22:57:44.740 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:44.798 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:44.813 DEBUG listener - handleSliders: Old state: 28
2020-01-03 22:57:44.814 DEBUG listener - handleSliders: New state: 27
2020-01-03 22:57:44.818 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:44.931 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:44.942 DEBUG listener - handleSliders: Old state: 27
2020-01-03 22:57:44.944 DEBUG listener - handleSliders: New state: 26
2020-01-03 22:57:44.948 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.011 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:45.032 DEBUG listener - handleSliders: Old state: 26
2020-01-03 22:57:45.036 DEBUG listener - handleSliders: New state: 24
2020-01-03 22:57:45.040 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.081 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:45.105 DEBUG listener - handleSliders: Old state: 24
2020-01-03 22:57:45.108 DEBUG listener - handleSliders: New state: 22
2020-01-03 22:57:45.109 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.157 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:45.173 DEBUG listener - handleSliders: Old state: 22
2020-01-03 22:57:45.174 DEBUG listener - handleSliders: New state: 20
2020-01-03 22:57:45.176 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.225 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:45.242 DEBUG listener - handleSliders: Old state: 20
2020-01-03 22:57:45.244 DEBUG listener - handleSliders: New state: 18
2020-01-03 22:57:45.245 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.316 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:45.334 DEBUG listener - handleSliders: Old state: 18
2020-01-03 22:57:45.338 DEBUG listener - handleSliders: New state: 16
2020-01-03 22:57:45.341 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.419 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:45.436 DEBUG listener - handleSliders: Old state: 16
2020-01-03 22:57:45.440 DEBUG listener - handleSliders: New state: 14
2020-01-03 22:57:45.442 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.500 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:45.521 DEBUG listener - handleSliders: Old state: 14
2020-01-03 22:57:45.524 DEBUG listener - handleSliders: New state: 12
2020-01-03 22:57:45.527 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.586 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:45.599 DEBUG listener - handleSliders: Old state: 12
2020-01-03 22:57:45.607 DEBUG listener - handleSliders: New state: 10
2020-01-03 22:57:45.608 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.654 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:45.667 DEBUG listener - handleSliders: Old state: 10
2020-01-03 22:57:45.670 DEBUG listener - handleSliders: New state: 9
2020-01-03 22:57:45.673 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.767 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:57:45.780 DEBUG listener - handleSliders: Old state: 9
2020-01-03 22:57:45.781 DEBUG listener - handleSliders: New state: 8
2020-01-03 22:57:45.783 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:57:45.842 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:58:03.311 DEBUG listener - handle_gesture_event: Current Mode: default
2020-01-03 22:58:03.312 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=menue
2020-01-03 22:58:03.458 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:03.460 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=default
2020-01-03 22:58:03.463 DEBUG listener - handleCommonGesture: Mapped command openHAB: ['TOGGLEIFPLAYER', 'TOGGLE'](requested namespace: OPENHAB.CustomSwitch)
2020-01-03 22:58:03.475 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): localhost:8081
2020-01-03 22:58:03.494 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/items/Sonos_Buero_Controller/state HTTP/1.1" 200 4
2020-01-03 22:58:03.542 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Controller HTTP/1.1" 200 0
2020-01-03 22:58:04.874 DEBUG listener - handle_gesture_event: Current Mode: default
2020-01-03 22:58:04.875 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=menue
2020-01-03 22:58:05.019 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:05.022 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=default
2020-01-03 22:58:05.025 DEBUG listener - handleCommonGesture: Mapped command openHAB: ['TOGGLEIFPLAYER', 'TOGGLE'](requested namespace: OPENHAB.CustomSwitch)
2020-01-03 22:58:05.042 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): localhost:8081
2020-01-03 22:58:05.080 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/items/Sonos_Buero_Controller/state HTTP/1.1" 200 5
2020-01-03 22:58:05.145 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Controller HTTP/1.1" 200 0
2020-01-03 22:58:08.094 DEBUG listener - handle_gesture_event: Current Mode: default
2020-01-03 22:58:08.102 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=menue
2020-01-03 22:58:08.478 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:08.479 DEBUG listener - handle_gesture_event: Mapped Command: ...
CHANGEMODE=default
2020-01-03 22:58:10.102 DEBUG listener - handle_gesture_event: Current Mode: default
2020-01-03 22:58:10.104 DEBUG listener - handle_gesture_event: Mapped Command: SHOWAPP
2020-01-03 22:58:10.107 DEBUG listener - handle_gesture_event: Name: Multiroom Audio System
2020-01-03 22:58:12.434 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:58:12.443 DEBUG listener - handleSliders: http://localhost:8081/restSonos_Buero_Volume/state
2020-01-03 22:58:12.468 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): localhost:8081
2020-01-03 22:58:12.575 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/items/Sonos_Buero_Volume/state HTTP/1.1" 200 1
2020-01-03 22:58:12.581 DEBUG listener - handleSliders: Raw item state: 8
2020-01-03 22:58:14.476 DEBUG listener - handleSliders: Old state: 8
2020-01-03 22:58:14.478 DEBUG listener - handleSliders: New state: 9
2020-01-03 22:58:14.480 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:58:14.534 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
....
/rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:58:22.812 DEBUG listener - handleSliders: Old state: 14
2020-01-03 22:58:22.814 DEBUG listener - handleSliders: New state: 13
2020-01-03 22:58:22.815 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:58:22.892 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Sonos_Buero_Volume HTTP/1.1" 200 0
2020-01-03 22:58:24.518 DEBUG listener - handle_gesture_event: Current Mode: default
2020-01-03 22:58:24.521 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=menue
2020-01-03 22:58:25.300 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:25.306 DEBUG listener - handle_gesture_event: Mapped Command: WHEELNAVIGATION
2020-01-03 22:58:25.443 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:25.445 DEBUG listener - handle_gesture_event: Mapped Command: 
2020-01-03 22:58:26.275 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:26.276 DEBUG listener - handle_gesture_event: Mapped Command: WHEELNAVIGATION
2020-01-03 22:58:26.374 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:26.376 DEBUG listener - handle_gesture_event: Mapped Command: WHEELNAVIGATION
2020-01-03 22:58:26.420 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:26.423 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=default
2020-01-03 22:58:26.427 DEBUG listener - handle_gesture_event: Current Mode: default
2020-01-03 22:58:26.432 DEBUG listener - handle_gesture_event: Mapped Command: SHOWAPP
2020-01-03 22:58:26.436 DEBUG listener - handle_gesture_event: Name: Multiroom Audio System
2020-01-03 22:58:27.493 DEBUG listener - handle_gesture_event: Current Mode: default
2020-01-03 22:58:27.496 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=menue
2020-01-03 22:58:27.881 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:27.883 DEBUG listener - handle_gesture_event: Mapped Command: WHEELNAVIGATION
2020-01-03 22:58:27.979 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:27.982 DEBUG listener - handle_gesture_event: Mapped Command: WHEELNAVIGATION
2020-01-03 22:58:28.076 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:28.078 DEBUG listener - handle_gesture_event: Mapped Command: WHEELNAVIGATION
2020-01-03 22:58:28.225 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:28.227 DEBUG listener - handle_gesture_event: Mapped Command: WHEELNAVIGATION
2020-01-03 22:58:28.308 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 5124
2020-01-03 22:58:28.327 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:28.335 DEBUG listener - handle_gesture_event: Mapped Command: WHEELNAVIGATION
2020-01-03 22:58:28.424 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:28.427 DEBUG listener - handle_gesture_event: Mapped Command: WHEELNAVIGATION
2020-01-03 22:58:29.398 DEBUG listener - handle_gesture_event: Current Mode: menue
2020-01-03 22:58:29.406 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=default
2020-01-03 22:58:29.412 DEBUG listener - handle_gesture_event: Current Mode: default
2020-01-03 22:58:29.413 DEBUG listener - handle_gesture_event: Mapped Command: SHOWAPP
2020-01-03 22:58:29.414 DEBUG listener - handle_gesture_event: Name: BĆ¼ro_Deckenlampe Dimmen
2020-01-03 22:58:31.011 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Buero_Deckenlampe_Dimmer HTTP/1.1" 200 0
2020-01-03 22:58:31.017 DEBUG listener - handleSliders: http://localhost:8081/restBuero_Deckenlampe_Dimmer/state
2020-01-03 22:58:31.046 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): localhost:8081
2020-01-03 22:58:31.095 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/items/Buero_Deckenlampe_Dimmer/state HTTP/1.1" 200 3
2020-01-03 22:58:31.115 DEBUG listener - handleSliders: Raw item state: 100
2020-01-03 22:58:31.298 DEBUG listener - handleSliders: Old state: 100
2020-01-03 22:58:31.307 DEBUG listener - handleSliders: New state: 99
2020-01-03 22:58:31.309 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:58:31.358 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Buero_Deckenlampe_Dimmer HTTP/1.1" 200 0
...
2020-01-03 22:58:56.354 DEBUG listener - handleSliders: Old state: 100
2020-01-03 22:58:56.358 DEBUG listener - handleSliders: New state: 100
2020-01-03 22:58:56.361 DEBUG listener - handleSliders: Sending command...
2020-01-03 22:58:56.412 DEBUG connectionpool - _make_request: http://localhost:8081 "POST /rest/items/Buero_Deckenlampe_Dimmer HTTP/1.1" 200 0
2020-01-03 22:59:08.095 INFO listener - started_connecting: Connecting...
2020-01-03 22:59:21.719 INFO listener - started_connecting: Connecting...
2020-01-03 22:59:26.750 INFO listener - started_connecting: Connecting...
2020-01-03 22:59:28.343 DEBUG connectionpool - _get_conn: Resetting dropped connection: localhost
2020-01-03 22:59:28.558 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 5124
2020-01-03 22:59:31.770 INFO listener - started_connecting: Connecting...
2020-01-03 22:59:36.782 INFO listener - started_connecting: Connecting...
2020-01-03 22:59:41.800 INFO listener - started_connecting: Connecting...
2020-01-03 22:59:46.820 INFO listener - started_connecting: Connecting...
2020-01-03 22:59:46.971 INFO listener - connect_failed: Connecting failed!
2020-01-03 22:59:51.990 INFO listener - started_connecting: Connecting...
2020-01-03 22:59:52.022 INFO listener - connect_failed: Connecting failed!
2020-01-03 22:59:57.030 INFO listener - started_connecting: Connecting...
2020-01-03 22:59:57.052 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:02.060 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:02.081 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:07.090 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:07.114 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:12.120 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:12.147 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:17.158 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:17.182 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:22.227 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:22.249 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:27.258 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:27.282 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:28.589 DEBUG connectionpool - _get_conn: Resetting dropped connection: localhost
2020-01-03 23:00:28.789 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 5126
2020-01-03 23:00:32.294 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:32.334 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:37.346 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:37.370 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:42.380 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:42.399 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:47.417 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:47.448 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:52.450 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:52.483 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:00:57.490 INFO listener - started_connecting: Connecting...
2020-01-03 23:00:57.515 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:01:02.521 INFO listener - started_connecting: Connecting...
2020-01-03 23:01:02.548 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:01:07.557 INFO listener - started_connecting: Connecting...
2020-01-03 23:01:07.583 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:01:12.590 INFO listener - started_connecting: Connecting...
2020-01-03 23:01:12.611 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:01:17.620 INFO listener - started_connecting: Connecting...
2020-01-03 23:01:17.644 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:01:22.650 INFO listener - started_connecting: Connecting...
2020-01-03 23:01:22.679 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:01:27.687 INFO listener - started_connecting: Connecting...
2020-01-03 23:01:27.711 INFO listener - connect_failed: Connecting failed!
2020-01-03 23:01:28.817 DEBUG connectionpool - _get_conn: Resetting dropped connection: localhost
2020-01-03 23:01:29.055 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 5126

I do appreciate any assitance :slight_smile:

Yes. As stated, the builtin Raspberry BLE adapters do not work well. The log clearly shows that there is an issue with the Bluetooth connection. But in October you had a different error (you had ERROR messages in your log that you donā€˜t have now).

So Iā€˜d recommend to try it with a USB adapter first and then see if there is still an issue.

But take care the adapter you buy supports BLE.

My nuimo is still running nice! Thank again @pfink !
i modify it a lot and order some more nuimos :slight_smile:
i think in the near future i will add some new icons to your repro.

But i never get a state for the battery item. i changed it in the config to fit to my name system and also tried the default name.

there is even no error on the raspi or the openhab.log to find.
is this a working feature?

Chris

Yes. For me it works flawless. Could you please post your nuimo and item configuration?

Items

Number      P01_HW_SENIC_R05_NUIMO_01_BatteryLevel  "NUIMO Battery Level [%d]"  (P01_HW_SENIC_R05_NUIMO_01) 
DateTime    P01_HW_SENIC_R05_NUIMO_01_LastUpdate    "NUIMO LastUpdate"          (P01_HW_SENIC_R05_NUIMO_01) 
// Number nuimobattlvl "NUIMO Battery Level 2 [%d]"  (P01_HW_SENIC_R05_NUIMO_01) 

Sitemap

sitemap P01_HW_SENIC_R08_NUIMO_01 label="P01_HW_SENIC_R08_NUIMO_01"
{
    Text label="Kueche Radio" icon="music" {
        Default item=P01_HW_HEOS_R08_Speaker_01_Control
        Slider item=P01_HW_HEOS_R08_Speaker_01_Volume
    }
    Text label="Licht Kueche Haupt" icon="light" {
        Switch item=P01_HW_HUE_R25_Light_08_Switch mappings=[TOGGLE=BUTTON_CLICK]
        Slider item=P01_HW_HUE_R25_Light_08_Dimmer
    }
    Text label="             *       * *      * *      ***      ***     *****     ***            " {
        Switch item=P01_HW_HUE_R25_Light_08_Switch mappings=[TOGGLE=BUTTON_CLICK]
        Slider item=P01_HW_HUE_R25_Light_08_CTemp
    }
    Text label="                     ***     * * *    *****    * * *     ***                     " {
        Switch item=P01_HW_KNX_R20_Switchactuator_2_Ch01_Switch mappings=[TOGGLE=BUTTON_CLICK]
    }
    Text label="**********************************************       **       **       *         " {
        Slider item=P01_HW_KNX_R20_Shutteractuator_1_Ch07_Shutter
    }
}

Config

openhab_api_url: "http://XXX:8080/rest"
nuimo_mac_address: "XXX"
bluetooth_adapter: hci0

openhab_sitemap: "P01_HW_SENIC_R08_NUIMO_01"
openhab_batterylevel_item: "P01_HW_SENIC_R05_NUIMO_01_BatteryLevel"   # Name of the Number item that is updated with the battery level of the Nuimo
openhab_autoupdate_sitemap: 10                    # Interval at that openHAB is being polled for sitemap configuration changes in seconds. To turn off autoupdate, use 0.
openhab_slider_null_command: 0                    # Command that should be sent to the Slider if the item state is null

rotation_icon: 2-digit-angular                    # Accepted values: 2-digit-angular, 2-digit-curved, circle
rotation_icon_leading_zero: false                 # Only valid for digit rotation icons: Defines whether there is a leading zero for 1-digit numbers.
rotation_sensitivity: 1.0                         # Defines the number revolutions the wheel needs to reach 100%.
error_icon: "errorExclamationMark"                # The icon shown on the Nuimo if an error occurs during event handling. Recommended values: errorExclamationMark, errorX, errorSmiley

log_file: "var/log/nuimo-openhab.log"
log_level: INFO
log_stdout: true

Config looks fine. Could you activate DEBUG logging and let it run for some hours?

Its running in DEBUG now.
What interval the batlvl changes in your env?

btw.
i build me this very simple rule to try and save new icons. mabye somebody can use this. whit this i can simply copy the labelstring from the eventlog to the sitemap.

"""
Generiere Nuimo Icons
"""
@rule("SENIC Nuimo Icon generation", description="Triggers", tags=["Utils", "Sitemaps"])
@when("Item P01_Admin_generateSenicIcon received command ON")
def generate_senicIcons(event):
    
    # ICON STRING TO USE
    tranform_str = icon_str_ctemp

    events.sendCommand("P01_HW_SENIC_R05_NUIMO_01_IconString", "label=" + tranform_str)

    

# Empty
icon_str_empty = ("
"\""
"         "
"         "
"         "
"         "
"         "
"         "
"         "
"         "
"         "
"\""
)


# Spots
icon_str_spots = ("
"\""
"         "
"         "
"   ***   "
"  * * *  "
"  *****  "
"  * * *  "
"   ***   "
"         "
"         "
"\""
)

# Shutters
icon_str_shutter = ("
"\""
"*********"
"*********"
"*********"
"*********"
"*********"
"*       *"
"*       *"
"*       *"
"         "
"\""
)
....

Hi guys,
today i tried a existing and a new bluetooth stick (ofcourse both support BLE), but still the nuimo disconnects after a short period of time. Before the disconnection everything works perfect. In each case the log shows the upfollowing lines after the disconnection:

2020-01-04 17:46:38.463 INFO listener - started_connecting: Connecting...
2020-01-04 17:46:38.741 INFO listener - connect_failed: Connecting failed!
2020-01-04 17:46:41.404 DEBUG connectionpool - _get_conn: Resetting dropped connection: localhost
2020-01-04 17:46:41.702 DEBUG connectionpool - _make_request: http://localhost:8081 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 5211
2020-01-04 17:46:43.748 INFO listener - started_connecting: Connecting...
2020-01-04 17:46:48.760 INFO listener - started_connecting: Connecting...

The only way to reconnect the nuimo is to reboot the whole pi. Any Idea what I could try to slove the problem?

Hi gekberlin,

are you sure that you use the stick?
go the /boot/config.txt and put this in the end: dtoverlay=pi3-disable-bt
to disable the built in bt

hi spawny0815,

thanks for the hint. Unfortatnley this isnā€™t the problem as I have done this step already before and done a reboot.
When I force bluetoothctl & show then the mac of the usb stick is given. So I asume that the numio integration use that stick aswell.
Is there a way to dopple check that ?

i think you can check dmsg to see the assignment by plug in the stick

yes i doubeld checked that one also already. there seems everything correct so far.
Itā€™s everytime the same, after a few sec. (15-20 sec.) of no input from nuimo, the nuimo looses the connection to the pi.
Any other suggestions ?

no sorry.
for me this starts after updating my raspi and stops after using a my external bt stickā€¦

@pfink there is so far nothing to find in the log. is there anything a have to search for?

and is it possible to auto switch back to the start of the sitemap after a period of time?
so i know that when i go into the room after a while, the first press is always to stop or start the music?

Could you please send me the log (here in the chat or via PM)?

Could you please post the output of the following command?

hciconfig

No, there is no such feature atm.

Of course :slight_smile:

hci0:   Type: Primary  Bus: USB
        BD Address: 5C:F3:70:98:70:6A  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING
        RX bytes:2916 acl:0 sco:0 events:265 errors:0
        TX bytes:40323 acl:0 sco:0 commands:264 errors:0

This looks good in my opinion.

Yes. Which product do you use as the Bluetooth Adapter (model name)?

@spawny0815: I analyzed your log. What is remarkable, that also the SHOWBATTERYLEVEL action fails (within the Nuimo library by Senic, not within my app). Also, there are not any events about the battery level received by the Nuimo. My best bet is that you have an outdated firmware on your Nuimo which does not support giving information about the battery level. You could try to connect your Nuimo to the Android / iOS app and do a firmware update. A second possibility (but very unlikely) is that something got wrong during installation and youā€™ve got an outdated version of the nuimo library. You can check that with pip3 show nuimo. It should be version 0.3.6.

@gekberlin: You could try updating firmware as well if not already done.

Hi there,

I use an ASUS BT400, wich adapter do you guys have an use ?

And yes I also thought about to update my nuimo control but I donā€™t have a hub. Therefore I didnā€™t find a possibility to do so.

You can just use the iOS or Android app.

I have to use the legacy version of the app as I donā€™t have an Senic hub. There I donā€™t find a way to update the nuimo.
Which version of the app do you use ?