Nuimo Integration

Hey Patrick.
This sounds awesome. Next weekend i going to tried it and see what im able to do. Thanks for your answer and this great work. Have a nice day.
Leon

@xAPPO: In the beginning, I used this container because my bluez version on the host was not new enough to run everything directly and the container did it’s job well - but since I upgraded to Raspbian Stretch and I have the needed bluez version on the host, I don’t maintain the image anymore. In the end, for me it’s just easier to run everything directly on the host, so I don’t have to troubleshoot inter-container communication and device-handling issues. Anyway, I think it makes sense to investigate deeper whether Docker containers may bring advantages in this particular setup. Cool that you plan to share your findings. PRs against the documentation (README.md) are also welcome if you’d like to improve things there (even if it’s just a typo!) :slight_smile:

I just try to get this integration working. Perhaps a stupid question, but how to find out the mac Adress of Nuimo? Thanks for the help.

You can do scans with bluetoothctl if you don’t know the mac address yet. If bluetoothctl shows multiple unknown devices / addresses, trial & error is the only way. The commands you have to execute are (please make sure the Nuimo is turned on, but disconnected from the Android / iOS app when you do this):

  1. bluetoothctl (a seperate console will open now)
  2. devices (will list all known devices. If the nuimo is already present on this list, you can skip step 3)
  3. If step 2 didn’t show the Nuimos mac address, you can trigger another scan with scan on
  4. Pick the right mac address from the result.
  5. exit

Thanks. I will give it a try later. Really keen to do something with my Nuimo. ;))

Hi. First let me thank you for this binding. Finally I will be using my Nuimo!

I installed the binding under openhab2 version 2.4, using openhabian on a RPi 2, and everything is running fine. But I have a minor problem and a question:

  1. After restarting the RPi, the Nuimo is not connected. This message is my only clue:

[13:08:31] openhabian@openhab:~$ sudo systemctl status nuimo-openhab
[sudo] password for openhabian:
● nuimo-openhab.service - Nuimo openHAB Integration Service
Loaded: loaded (/etc/systemd/system/nuimo-openhab.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2018-12-29 12:52:39 EST; 16min ago
Main PID: 488 (python3)
CGroup: /system.slice/nuimo-openhab.service
└─488 /usr/bin/python3 /home/nuimo-openhab-python/main.py

Dec 29 12:53:27 openhab nuimo-openhab[488]: r = self.session.get(self.base_url + uri_path, timeout=self.timeout)
Dec 29 12:53:27 openhab nuimo-openhab[488]: File “/usr/local/lib/python3.5/dist-packages/requests/sessions.py”, line 546, in get
Dec 29 12:53:27 openhab nuimo-openhab[488]: return self.request(‘GET’, url, **kwargs)
Dec 29 12:53:27 openhab nuimo-openhab[488]: File “/usr/local/lib/python3.5/dist-packages/requests/sessions.py”, line 533, in reques
Dec 29 12:53:27 openhab nuimo-openhab[488]: resp = self.send(prep, **send_kwargs)
Dec 29 12:53:27 openhab nuimo-openhab[488]: File “/usr/local/lib/python3.5/dist-packages/requests/sessions.py”, line 646, in send
Dec 29 12:53:27 openhab nuimo-openhab[488]: r = adapter.send(request, **kwargs)
Dec 29 12:53:27 openhab nuimo-openhab[488]: File “/usr/local/lib/python3.5/dist-packages/requests/adapters.py”, line 516, in send
Dec 29 12:53:27 openhab nuimo-openhab[488]: raise ConnectionError(e, request=request)
Dec 29 12:53:27 openhab nuimo-openhab[488]: requests.exceptions.ConnectionError: HTTPConnectionPool(host=‘localhost’, port=8080): Max

  1. Since I understand that you are the creator of the Flic binding as well, is there a way to run both bindings from a single RPi other than attaching two different bluetooth adapters?

Thx!

Hi Miguel,

  1. This looks like you either you misconfigured the REST API url or your openHAB instance does not have the REST Add-On installed / activated at all. If this does not help you, please share your configuration.
  2. No, unfortunately this is not possible with my Flic Binding as it relies on the ShortcutLabs flicd service which does not use bluez.

Cheers,
Patrick

Thanks. The openhabian installation is pretty standard (other than the root having been moved to a USB HDD); I don’t see how I could have misconfigured the REST api (and I don’t see how to disable/enable the Rest Add-on).

If I manually stop the service (sudo systemctl stop nuimo-openhab) and start it again from a terminal (sudo systemctl start nuimo-openhab), it works. It looks as if the service is starting before the server at 8080 (jetty?) is ready. Maybe my system is taking more time than expected to start it. Anyway, I’ve tried to modify the nuimo-*.service systemd file, adding the lines below, without success for now:

[Service]
ExecStartPre=/bin/sleep 60
ExecStart=/usr/bin/python3 /home/nuimo-openhab-python/main.py
Type=idle

If I find a solution, I’ll post it here. Cheers.

You could try this.

As suggested, I added the openhab.service dependence at the top of the service file, but for reasons I don’t fully understand, it didn’t work. I tried several other changes to the service file (adding a delay,…), but at the end, I simply added a sleep and a restart command at the end of the rc.local file:

(sleep 120
sudo systemctl status nuimo-openhab) & 

Problem bypassed, it works for me now. Thank you!

Probably the issue is that REST service is not directly available after openhab2.service is started. I raised https://github.com/openhab/openhab-linuxpkg/issues/138 to find a solution for this.

Hi,
I have the problem that my Nuimo connect to the raspberry but after a few seconds (2/3 seconds) the connection fails. In these few seconds I’m able to control openhab by the nuimo as aspected.
Any idea what the problem could be?

I drop my logfile aswell:

Logfile
2019-10-22 21:05:53.312 INFO config - <module>: Loaded config file from config.yml
2019-10-22 21:05:56.964 INFO main - controller_discovered: Discovered Nuimo controller: f7:28:a8:0e:06:3e
2019-10-22 21:05:56.966 INFO main - controller_discovered: Found configured Nuimo with MAC address F7:28:A8:0E:06:3E
2019-10-22 21:05:57.156 INFO model - __init__: Create app: Multiroom Audio System(parent: None)
2019-10-22 21:05:57.157 INFO model - __init__: Create app: Audio Bedroom(parent: <nuimo_menue.model.App object at 0x756dfd90>)
2019-10-22 21:05:57.158 INFO model - __init__: Create app: Audio Guest Room(parent: <nuimo_menue.model.App object at 0x756dfd90>)
2019-10-22 21:05:57.159 INFO model - __init__: Create app: Simple_Light(parent: None)
2019-10-22 21:05:57.160 INFO model - __init__: Create app: Simple Light(parent: None)
2019-10-22 21:05:57.163 INFO listener - started_connecting: Connecting...
2019-10-22 21:06:07.213 INFO main - initialize_controller: Controller and Listener (re-)initialized!
2019-10-22 21:06:12.444 INFO listener - connect_failed: Connecting failed!
2019-10-22 21:06:17.141 ERROR connection - maybe_handle_message: Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
self._handler(*args, **kwargs)
  File "/home/openhabian/.local/lib/python3.7/site-packages/gatt/gatt_linux.py", line 539, in properties_changed
self.service.device.characteristic_value_updated(characteristic=self, value=bytes(value))
  File "/home/openhabian/.local/lib/python3.7/site-packages/nuimo/nuimo.py", line 233, in characteristic_value_updated
}[characteristic.uuid](value)
  File "/home/openhabian/.local/lib/python3.7/site-packages/nuimo/nuimo.py", line 244, in _notify_button_event
self._notify_gesture_event(gesture=Gesture.BUTTON_RELEASE if value[0] == 0 else Gesture.BUTTON_PRESS)
  File "/home/openhabian/.local/lib/python3.7/site-packages/nuimo/nuimo.py", line 280, in _notify_gesture_event
self.listener.received_gesture_event(GestureEvent(gesture=gesture, value=value))
  File "/home/openhabian/nuimo-openhab-python/nuimo_menue/listener.py", line 28, in received_gesture_event
raise error
  File "/home/openhabian/nuimo-openhab-python/nuimo_menue/listener.py", line 25, in received_gesture_event
self.handle_extra_events(event)
  File "/home/openhabian/nuimo-openhab-python/nuimo_menue/listener.py", line 35, in handle_extra_events
self.handle_gesture_event(event)
  File "/home/openhabian/nuimo-openhab-python/nuimo_menue/listener.py", line 67, in handle_gesture_event
gestureResult = self.nuimoMenue.getCurrentApp().getListener().received_gesture_event(event)
  File "/home/openhabian/nuimo-openhab-python/nuimo_openhab/listener.py", line 45, in received_gesture_event
return self.handleCommonGesture(event)
  File "/home/openhabian/nuimo-openhab-python/nuimo_openhab/listener.py", line 70, in handleCommonGesture
state = requests.get(self.openhab.base_url + "/items/" + widget["item"]["name"] + "/state").text
KeyError: 'item'
2019-10-22 21:06:26.306 ERROR connection - maybe_handle_message: Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 230, in maybe_handle_message
self._handler(*args, **kwargs)
  File "/home/openhabian/.local/lib/python3.7/site-packages/gatt/gatt_linux.py", line 539, in properties_changed
self.service.device.characteristic_value_updated(characteristic=self, value=bytes(value))
  File "/home/openhabian/.local/lib/python3.7/site-packages/nuimo/nuimo.py", line 233, in characteristic_value_updated
}[characteristic.uuid](value)
  File "/home/openhabian/.local/lib/python3.7/site-packages/nuimo/nuimo.py", line 244, in _notify_button_event
self._notify_gesture_event(gesture=Gesture.BUTTON_RELEASE if value[0] == 0 else Gesture.BUTTON_PRESS)
  File "/home/openhabian/.local/lib/python3.7/site-packages/nuimo/nuimo.py", line 280, in _notify_gesture_event
self.listener.received_gesture_event(GestureEvent(gesture=gesture, value=value))
  File "/home/openhabian/nuimo-openhab-python/nuimo_menue/listener.py", line 28, in received_gesture_event
raise error
  File "/home/openhabian/nuimo-openhab-python/nuimo_menue/listener.py", line 25, in received_gesture_event
self.handle_extra_events(event)
  File "/home/openhabian/nuimo-openhab-python/nuimo_menue/listener.py", line 35, in handle_extra_events
self.handle_gesture_event(event)
  File "/home/openhabian/nuimo-openhab-python/nuimo_menue/listener.py", line 67, in handle_gesture_event
gestureResult = self.nuimoMenue.getCurrentApp().getListener().received_gesture_event(event)
  File "/home/openhabian/nuimo-openhab-python/nuimo_openhab/listener.py", line 45, in received_gesture_event

Any help would be great :slight_smile:

Yes. Most likely your sitemap is incorrect. Please post your sitemap and item configuration.

Does your sitemap work if you just use it with Basic UI (without the Nuimo)?

Hi,
okay, but with basic UI the (pretty simple) test nuimo.sitemap works pretty well.

nuimo.sitemap
sitemap nuimo
{

Text label="Simple Light" icon="letterO" {
    Switch item=Couch_Toggle
    Slider item=Couch_Dimmer
}
}

The Item configuration is the upfollowing, also just for nuimo testing:

hue.items
   // Bulb1
    Switch  Couch_Toggle       { channel="hue:0220:00178823686f:8:brightness" }
    Dimmer  Couch_Dimmer       { channel="hue:0220:00178823686f:8:brightness" }
    Color   Couch_Color        { channel="hue:0220:00178823686f:8:color_temperature" }
    Dimmer  Couch_ColorTemp    { channel="hue:0220:00178823686f:8:color_temperature" }
    String  Couch_Alert        { channel="hue:0220:00178823686f:8:alert" }
    Switch  Couch_Effect       { channel="hue:0220:00178823686f:8:effect" }

thanks for your help

Your sitemap looks fine, I could not reproduce your issue. I added some more logging output to track it.

Please update to the latest development version and set the log_level option within your config.yml to DEBUG. Afterwards, please capture the issue and send the log again. Thanks!

Also, do you see any errors or warnings in your openhab.log?


Anyhow, while I tried to track your issue, I found some other bugs.

  1. There was a type casting issue which lead to some issues while toggling Switches in certain cases: Users have to update their config.yml. Please override the toggle_mapping and initial_command section in your config.yml with the latest example.

  2. The missing sitemap label within the Sitemap Example Configuration breaks the iOS app. This has to be fixed in sitemaps that were derived from the example sitemap.

Hi,
@gekberlin did you fix your problem?

i made a fresh hardware setup and have the same problem now.
i also changed the sitemap to some simple setup but that did change anything.

i also tried the lastest and the master branch… no different.

when i check the debug log i get depending on my sitemap two things.
the first is:

DEBUG app_builder - compare_sitemap_config: Sitemap configuration does not match. Value of key name differs or key is not available in other sitemap

whit this setup everything works for a short time ±1 min
after this time the nuimo disconnects every few seconds and never find the way back
@pfink what das the “Value of key name differs” mean? Is this my problem?

if i put just a slider in the sitemap i also get the

ERROR connection - maybe_handle_message: Exception in handler for D-Bus signal

Cheers Chris

No, this message is expected (that’s why it’s DEBUG, otherwise it would be warning or error :wink: ). Could you please post your sitemap and the full debug log (captured on the latest version). Also, please provide the following information:

  • Device: [e.g. Raspberry Pi 3]
  • Operating System: [e.g. Raspian Stretch] (can be captured by running “lsb_release -a”)
  • Python Version: [e.g. 3.5.3] (can be captured by running “python3 --version”)
  • Bluez Version: [e.g. 5.43] (can be captured by running “bluetoothd --version”)
  • openHAB Version: [e.g. 2.5.0] (can be captured by running “openhab-cli info”)

Hey, thank you for the fast reply!

BT Device

  • Device: [Raspberry Pi Zero W]
    
  • Operating System: [Raspbian GNU/Linux 10 (buster)] 
    
  • Python Version: [3.7.3]
    
  • Bluez Version: [5.50]
    

openhab System

  • openHAB Version: [2.5.0.M6]
    

Setup V1:
Sitemap:

sitemap nuimo label=“nuimo”
{
Text label=“Bathroom Audio” icon=“letterB” {
Default item=P01_HW_HEOS_R05_Speaker_01_Control
Slider item=P01_HW_HEOS_R05_Speaker_01_Volume
}
}

Log:

2019-12-15 15:23:50.637 INFO config - <module>: Loaded config file from /opt/nuimo-openhab-python/config.yml
2019-12-15 15:23:52.711 INFO main - controller_discovered: Discovered Nuimo controller: XX:XX:XX:XX:XX:XX
2019-12-15 15:23:52.719 INFO main - controller_discovered: Found configured Nuimo with MAC address XX:XX:XX:XX:XX:XX
2019-12-15 15:23:52.756 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): XXX.XXX.XXX.XXX:8080
2019-12-15 15:23:52.890 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1514
2019-12-15 15:23:52.902 DEBUG app_builder - compare_sitemap_config: Sitemap configuration does not match. Value of key name differs or key is not available in other sitemap
2019-12-15 15:23:52.911 INFO model - __init__: Create app: Bathroom Audio(parent: None)
2019-12-15 15:23:52.921 INFO listener - started_connecting: Connecting...
2019-12-15 15:24:05.367 INFO main - initialize_controller: Controller and Listener (re-)initialized!
2019-12-15 15:24:07.103 INFO listener - connect_failed: Connecting failed!
2019-12-15 15:24:09.318 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:09.330 DEBUG listener - handleSliders: http://XXX.XXX.XXX.XXX:8080/restP01_HW_HEOS_R05_Speaker_01_Volume/state
2019-12-15 15:24:09.353 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): XXX.XXX.XXX.XXX:8080
2019-12-15 15:24:09.440 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume/state HTTP/1.1" 200 1
2019-12-15 15:24:09.454 DEBUG listener - handleSliders: Raw item state: 0
2019-12-15 15:24:09.460 DEBUG listener - handleSliders: Old state: 0
2019-12-15 15:24:09.465 DEBUG listener - handleSliders: New state: 0
2019-12-15 15:24:09.471 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:09.542 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:09.567 DEBUG listener - handleSliders: Old state: 0
2019-12-15 15:24:09.572 DEBUG listener - handleSliders: New state: 0
2019-12-15 15:24:09.577 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:09.620 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:09.635 DEBUG listener - handleSliders: Old state: 0
2019-12-15 15:24:09.642 DEBUG listener - handleSliders: New state: 0
2019-12-15 15:24:09.647 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:09.687 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:09.700 DEBUG listener - handleSliders: Old state: 0
2019-12-15 15:24:09.706 DEBUG listener - handleSliders: New state: 0
2019-12-15 15:24:09.713 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:09.744 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:09.764 DEBUG listener - handleSliders: Old state: 0
2019-12-15 15:24:09.772 DEBUG listener - handleSliders: New state: 0
2019-12-15 15:24:09.779 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:09.837 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:09.853 DEBUG listener - handleSliders: Old state: 0
2019-12-15 15:24:09.858 DEBUG listener - handleSliders: New state: 0
2019-12-15 15:24:09.864 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:09.891 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:10.837 DEBUG listener - handleSliders: Old state: 0
2019-12-15 15:24:10.847 DEBUG listener - handleSliders: New state: 2
2019-12-15 15:24:10.854 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:10.914 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:10.982 DEBUG listener - handleSliders: Old state: 2
2019-12-15 15:24:10.987 DEBUG listener - handleSliders: New state: 4
2019-12-15 15:24:10.992 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:11.060 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:11.085 DEBUG listener - handleSliders: Old state: 4
2019-12-15 15:24:11.091 DEBUG listener - handleSliders: New state: 6
2019-12-15 15:24:11.096 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:11.155 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:11.184 DEBUG listener - handleSliders: Old state: 6
2019-12-15 15:24:11.195 DEBUG listener - handleSliders: New state: 8
2019-12-15 15:24:11.199 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:11.296 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:14.298 DEBUG listener - handleSliders: Old state: 8
2019-12-15 15:24:14.308 DEBUG listener - handleSliders: New state: 7
2019-12-15 15:24:14.314 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:14.379 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:14.405 DEBUG listener - handleSliders: Old state: 7
2019-12-15 15:24:14.411 DEBUG listener - handleSliders: New state: 5
2019-12-15 15:24:14.416 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:14.481 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:14.525 DEBUG listener - handleSliders: Old state: 5
2019-12-15 15:24:14.539 DEBUG listener - handleSliders: New state: 4
2019-12-15 15:24:14.544 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:14.674 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:14.700 DEBUG listener - handleSliders: Old state: 4
2019-12-15 15:24:14.706 DEBUG listener - handleSliders: New state: 2
2019-12-15 15:24:14.711 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:14.817 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:14.833 DEBUG listener - handleSliders: Old state: 2
2019-12-15 15:24:14.838 DEBUG listener - handleSliders: New state: 1
2019-12-15 15:24:14.843 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:14.875 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:15.370 DEBUG listener - handleSliders: Old state: 1
2019-12-15 15:24:15.380 DEBUG listener - handleSliders: New state: 2
2019-12-15 15:24:15.386 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:15.435 DEBUG connectionpool - _new_conn: Starting new HTTP connection (2): XXX.XXX.XXX.XXX:8080
2019-12-15 15:24:15.452 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1514
2019-12-15 15:24:15.467 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:15.501 DEBUG listener - handleSliders: Old state: 2
2019-12-15 15:24:15.507 DEBUG listener - handleSliders: New state: 3
2019-12-15 15:24:15.512 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:15.563 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:15.586 DEBUG listener - handleSliders: Old state: 3
2019-12-15 15:24:15.591 DEBUG listener - handleSliders: New state: 7
2019-12-15 15:24:15.596 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:15.670 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:15.702 DEBUG listener - handleSliders: Old state: 7
2019-12-15 15:24:15.707 DEBUG listener - handleSliders: New state: 9
2019-12-15 15:24:15.713 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:15.762 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:15.786 DEBUG listener - handleSliders: Old state: 9
2019-12-15 15:24:15.791 DEBUG listener - handleSliders: New state: 10
2019-12-15 15:24:15.796 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:15.851 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:15.906 DEBUG listener - handleSliders: Old state: 10
2019-12-15 15:24:15.912 DEBUG listener - handleSliders: New state: 11
2019-12-15 15:24:15.917 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:15.963 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:17.515 DEBUG listener - handleSliders: Old state: 11
2019-12-15 15:24:17.525 DEBUG listener - handleSliders: New state: 15
2019-12-15 15:24:17.535 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:17.585 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:17.621 DEBUG listener - handleSliders: Old state: 15
2019-12-15 15:24:17.629 DEBUG listener - handleSliders: New state: 23
2019-12-15 15:24:17.635 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:17.665 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:17.719 DEBUG listener - handleSliders: Old state: 23
2019-12-15 15:24:17.725 DEBUG listener - handleSliders: New state: 28
2019-12-15 15:24:17.731 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:17.786 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:17.858 DEBUG listener - handleSliders: Old state: 28
2019-12-15 15:24:17.873 DEBUG listener - handleSliders: New state: 33
2019-12-15 15:24:17.878 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:17.933 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:17.973 DEBUG listener - handleSliders: Old state: 33
2019-12-15 15:24:17.979 DEBUG listener - handleSliders: New state: 38
2019-12-15 15:24:17.984 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:18.025 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:18.109 DEBUG listener - handleSliders: Old state: 38
2019-12-15 15:24:18.115 DEBUG listener - handleSliders: New state: 43
2019-12-15 15:24:18.120 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:18.175 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:18.189 DEBUG listener - handleSliders: Old state: 43
2019-12-15 15:24:18.195 DEBUG listener - handleSliders: New state: 46
2019-12-15 15:24:18.200 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:18.228 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:18.255 DEBUG listener - handleSliders: Old state: 46
2019-12-15 15:24:18.262 DEBUG listener - handleSliders: New state: 49
2019-12-15 15:24:18.267 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:18.317 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:18.353 DEBUG listener - handleSliders: Old state: 49
2019-12-15 15:24:18.359 DEBUG listener - handleSliders: New state: 52
2019-12-15 15:24:18.364 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:18.394 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:18.489 DEBUG listener - handleSliders: Old state: 52
2019-12-15 15:24:18.495 DEBUG listener - handleSliders: New state: 55
2019-12-15 15:24:18.500 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:18.527 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:18.597 DEBUG listener - handleSliders: Old state: 55
2019-12-15 15:24:18.602 DEBUG listener - handleSliders: New state: 57
2019-12-15 15:24:18.607 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:18.641 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:19.270 DEBUG listener - handleSliders: Old state: 57
2019-12-15 15:24:19.278 DEBUG listener - handleSliders: New state: 56
2019-12-15 15:24:19.285 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:19.365 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:19.393 DEBUG listener - handleSliders: Old state: 56
2019-12-15 15:24:19.398 DEBUG listener - handleSliders: New state: 55
2019-12-15 15:24:19.403 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:19.472 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:19.495 DEBUG listener - handleSliders: Old state: 55
2019-12-15 15:24:19.500 DEBUG listener - handleSliders: New state: 54
2019-12-15 15:24:19.506 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:19.534 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:19.853 DEBUG listener - handle_gesture_event: Current Mode: default
2019-12-15 15:24:19.859 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=menue
2019-12-15 15:24:20.054 DEBUG listener - handle_gesture_event: Current Mode: menue
2019-12-15 15:24:20.062 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=default
2019-12-15 15:24:20.068 DEBUG listener - handleCommonGesture: Mapped command openHAB: ['TOGGLEIFPLAYER'](requested namespace: OPENHAB.CustomSwitch)
2019-12-15 15:24:20.133 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): XXX.XXX.XXX.XXX:8080
2019-12-15 15:24:20.240 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/items/P01_HW_HEOS_R05_Speaker_01_Control/state HTTP/1.1" 200 4
2019-12-15 15:24:20.295 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Control HTTP/1.1" 200 0
2019-12-15 15:24:23.414 DEBUG listener - handle_gesture_event: Current Mode: default
2019-12-15 15:24:23.433 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=menue
2019-12-15 15:24:23.463 DEBUG listener - handle_gesture_event: Current Mode: menue
2019-12-15 15:24:23.474 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=default
2019-12-15 15:24:23.492 DEBUG listener - handleCommonGesture: Mapped command openHAB: ['TOGGLEIFPLAYER'](requested namespace: OPENHAB.CustomSwitch)
2019-12-15 15:24:23.536 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): XXX.XXX.XXX.XXX:8080
2019-12-15 15:24:23.584 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/items/P01_HW_HEOS_R05_Speaker_01_Control/state HTTP/1.1" 200 5
2019-12-15 15:24:23.637 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Control HTTP/1.1" 200 0
2019-12-15 15:24:24.806 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:24.819 DEBUG listener - handleSliders: http://XXX.XXX.XXX.XXX:8080/restP01_HW_HEOS_R05_Speaker_01_Volume/state
2019-12-15 15:24:24.843 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): XXX.XXX.XXX.XXX:8080
2019-12-15 15:24:24.901 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume/state HTTP/1.1" 200 2
2019-12-15 15:24:24.913 DEBUG listener - handleSliders: Raw item state: 54
2019-12-15 15:24:24.918 DEBUG listener - handleSliders: Old state: 54
2019-12-15 15:24:24.926 DEBUG listener - handleSliders: New state: 52
2019-12-15 15:24:24.931 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:24.959 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:24.983 DEBUG listener - handleSliders: Old state: 52
2019-12-15 15:24:24.988 DEBUG listener - handleSliders: New state: 49
2019-12-15 15:24:24.994 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:25.053 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:25.067 DEBUG listener - handleSliders: Old state: 49
2019-12-15 15:24:25.073 DEBUG listener - handleSliders: New state: 48
2019-12-15 15:24:25.078 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:25.111 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:25.216 DEBUG listener - handleSliders: Old state: 48
2019-12-15 15:24:25.222 DEBUG listener - handleSliders: New state: 47
2019-12-15 15:24:25.227 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:24:25.257 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:24:25.554 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:24:35.634 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:24:45.721 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:24:55.774 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:25:05.848 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:25:06.347 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:06.361 DEBUG listener - handleSliders: http://XXX.XXX.XXX.XXX:8080/restP01_HW_HEOS_R05_Speaker_01_Volume/state
2019-12-15 15:25:06.392 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): XXX.XXX.XXX.XXX:8080
2019-12-15 15:25:06.433 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume/state HTTP/1.1" 200 2
2019-12-15 15:25:06.446 DEBUG listener - handleSliders: Raw item state: 47
2019-12-15 15:25:06.452 DEBUG listener - handleSliders: Old state: 47
2019-12-15 15:25:06.457 DEBUG listener - handleSliders: New state: 50
2019-12-15 15:25:06.462 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:06.490 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:06.515 DEBUG listener - handleSliders: Old state: 50
2019-12-15 15:25:06.521 DEBUG listener - handleSliders: New state: 54
2019-12-15 15:25:06.526 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:06.579 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:06.593 DEBUG listener - handleSliders: Old state: 54
2019-12-15 15:25:06.599 DEBUG listener - handleSliders: New state: 62
2019-12-15 15:25:06.608 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:06.634 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:06.659 DEBUG listener - handleSliders: Old state: 62
2019-12-15 15:25:06.664 DEBUG listener - handleSliders: New state: 69
2019-12-15 15:25:06.669 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:06.733 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:06.747 DEBUG listener - handleSliders: Old state: 69
2019-12-15 15:25:06.752 DEBUG listener - handleSliders: New state: 74
2019-12-15 15:25:06.757 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:06.786 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:07.678 DEBUG listener - handleSliders: Old state: 74
2019-12-15 15:25:07.688 DEBUG listener - handleSliders: New state: 73
2019-12-15 15:25:07.694 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:07.748 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:07.784 DEBUG listener - handleSliders: Old state: 73
2019-12-15 15:25:07.791 DEBUG listener - handleSliders: New state: 71
2019-12-15 15:25:07.799 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:07.834 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:07.872 DEBUG listener - handleSliders: Old state: 71
2019-12-15 15:25:07.878 DEBUG listener - handleSliders: New state: 69
2019-12-15 15:25:07.883 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:07.950 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:08.028 DEBUG listener - handleSliders: Old state: 69
2019-12-15 15:25:08.034 DEBUG listener - handleSliders: New state: 68
2019-12-15 15:25:08.040 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:08.095 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:08.359 DEBUG listener - handleSliders: Old state: 68
2019-12-15 15:25:08.365 DEBUG listener - handleSliders: New state: 67
2019-12-15 15:25:08.370 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:08.397 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:10.654 DEBUG listener - handleSliders: Old state: 67
2019-12-15 15:25:10.664 DEBUG listener - handleSliders: New state: 66
2019-12-15 15:25:10.670 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:10.730 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:10.767 DEBUG listener - handleSliders: Old state: 66
2019-12-15 15:25:10.774 DEBUG listener - handleSliders: New state: 65
2019-12-15 15:25:10.781 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:10.818 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:15.950 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:25:18.573 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:18.586 DEBUG listener - handleSliders: http://XXX.XXX.XXX.XXX:8080/restP01_HW_HEOS_R05_Speaker_01_Volume/state
2019-12-15 15:25:18.607 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): XXX.XXX.XXX.XXX:8080
2019-12-15 15:25:18.632 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume/state HTTP/1.1" 200 2
2019-12-15 15:25:18.651 DEBUG listener - handleSliders: Raw item state: 65
2019-12-15 15:25:18.747 DEBUG listener - handleSliders: Old state: 65
2019-12-15 15:25:18.754 DEBUG listener - handleSliders: New state: 64
2019-12-15 15:25:18.761 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:18.798 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:20.303 DEBUG listener - handleSliders: Old state: 64
2019-12-15 15:25:20.310 DEBUG listener - handleSliders: New state: 63
2019-12-15 15:25:20.316 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:20.381 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:21.230 DEBUG listener - handleSliders: Old state: 63
2019-12-15 15:25:21.250 DEBUG listener - handleSliders: New state: 61
2019-12-15 15:25:21.257 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:21.288 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:21.521 DEBUG listener - handleSliders: Old state: 61
2019-12-15 15:25:21.529 DEBUG listener - handleSliders: New state: 60
2019-12-15 15:25:21.533 DEBUG listener - handleSliders: Sending command...
2019-12-15 15:25:21.573 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Volume HTTP/1.1" 200 0
2019-12-15 15:25:24.836 DEBUG listener - handle_gesture_event: Current Mode: default
2019-12-15 15:25:24.843 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=menue
2019-12-15 15:25:24.933 DEBUG listener - handle_gesture_event: Current Mode: menue
2019-12-15 15:25:24.939 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=default
2019-12-15 15:25:24.945 DEBUG listener - handleCommonGesture: Mapped command openHAB: ['TOGGLEIFPLAYER'](requested namespace: OPENHAB.CustomSwitch)
2019-12-15 15:25:24.967 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): XXX.XXX.XXX.XXX:8080
2019-12-15 15:25:24.998 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/items/P01_HW_HEOS_R05_Speaker_01_Control/state HTTP/1.1" 200 4
2019-12-15 15:25:25.050 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Control HTTP/1.1" 200 0
2019-12-15 15:25:26.052 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1517
2019-12-15 15:25:27.907 DEBUG listener - handle_gesture_event: Current Mode: default
2019-12-15 15:25:27.914 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=menue
2019-12-15 15:25:28.102 DEBUG listener - handle_gesture_event: Current Mode: menue
2019-12-15 15:25:28.107 DEBUG listener - handle_gesture_event: Mapped Command: CHANGEMODE=default
2019-12-15 15:25:28.114 DEBUG listener - handleCommonGesture: Mapped command openHAB: ['TOGGLEIFPLAYER'](requested namespace: OPENHAB.CustomSwitch)
2019-12-15 15:25:28.135 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): XXX.XXX.XXX.XXX:8080
2019-12-15 15:25:28.158 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/items/P01_HW_HEOS_R05_Speaker_01_Control/state HTTP/1.1" 200 5
2019-12-15 15:25:28.223 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "POST /rest/items/P01_HW_HEOS_R05_Speaker_01_Control HTTP/1.1" 200 0
2019-12-15 15:25:36.145 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:25:45.617 INFO listener - started_connecting: Connecting...
2019-12-15 15:25:46.247 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:25:56.327 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX0:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:26:01.205 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:01.619 INFO listener - connect_failed: Connecting failed!
2019-12-15 15:26:06.389 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:26:06.629 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:11.644 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:16.498 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:26:16.666 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:21.683 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:26.560 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:26:26.706 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:31.723 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:36.610 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:26:36.748 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:41.765 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:46.724 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:26:46.790 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:51.804 INFO listener - started_connecting: Connecting...
2019-12-15 15:26:56.816 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:26:56.833 INFO listener - started_connecting: Connecting...
2019-12-15 15:27:01.852 INFO listener - started_connecting: Connecting...
2019-12-15 15:27:06.873 INFO listener - started_connecting: Connecting...
2019-12-15 15:27:06.908 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 "GET /rest/sitemaps/nuimo HTTP/1.1" 200 1516
2019-12-15 15:27:11.892 INFO listener - started_connecting: Connecting...

This Version stops after 2min

Setup V2:
Sitemap:

sitemap nuimo label=“nuimo”
{
Slider item=P01_HW_HEOS_R05_Speaker_01_Volume
}

Log:

2019-12-15 15:30:38.999 INFO config - : Loaded config file from /opt/nuimo-openhab-python/config.yml
2019-12-15 15:30:41.863 INFO main - controller_discovered: Discovered Nuimo controller: XX:XX:XX:XX:XX:XX
2019-12-15 15:30:41.872 INFO main - controller_discovered: Found configured Nuimo with MAC address XX:XX:XX:XX:XX:XX
2019-12-15 15:30:41.908 DEBUG connectionpool - _new_conn: Starting new HTTP connection (1): 192.168.150.10:8080
2019-12-15 15:30:42.082 DEBUG connectionpool - _make_request: http://XXX.XXX.XXX.XXX:8080 “GET /rest/sitemaps/nuimo HTTP/1.1” 200 720
2019-12-15 15:30:42.093 DEBUG app_builder - compare_sitemap_config: Sitemap configuration does not match. Value of key name differs or key is not available in other sitemap
2019-12-15 15:30:42.101 ERROR connection - maybe_handle_message: Exception in handler for D-Bus signal:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/dbus/connection.py”, line 230, in maybe_handle_message
self._handler(*args, **kwargs)
File “/usr/local/lib/python3.7/dist-packages/gatt/gatt_linux.py”, line 168, in _properties_changed
self._device_discovered(path, [interface])
File “/usr/local/lib/python3.7/dist-packages/gatt/gatt_linux.py”, line 178, in _device_discovered
self.device_discovered(device)
File “/usr/local/lib/python3.7/dist-packages/nuimo/nuimo.py”, line 50, in device_discovered
self.listener.controller_discovered(device)
File “/opt/nuimo-openhab-python/main.py”, line 29, in controller_discovered
self.main.initialize_controller()
File “/opt/nuimo-openhab-python/main.py”, line 52, in initialize_controller
apps = self.app_builder.build_apps()
File “/opt/nuimo-openhab-python/nuimo_openhab/app_builder.py”, line 28, in build_apps
widgetApps = self.createAppFromWidget(widget)
File “/opt/nuimo-openhab-python/nuimo_openhab/app_builder.py”, line 41, in createAppFromWidget
icon = self.resolveIcon(widget[“label”], widget[“icon”])
File “/opt/nuimo-openhab-python/nuimo_openhab/app_builder.py”, line 66, in resolveIcon
raise RuntimeError(“No icon found for openHAB item '”+ label+"’")
RuntimeError: No icon found for openHAB item ‘Volume [60 %]’

At the moment of testing the raspi zero and the nuimo where both in front of me… So the connection issue is not a range problem.

Thanks

Chris

V1: This is not a problem within my application, but within the Bluetooth stack. I also had issues with the builtin adapter of the Pi Zero and switched to a USB adapter after while, which provided a much more stable connection. Other Pi users (that don’t use Nuimo at all) seem to have similar issues. I’m not sure whether the problem is on the software level or at the hardware side. In September they told they improved something, so if your firmware is not up-to-date, this would be the first thing to try. If you have the possibility to try a USB BT adapter, I’d highly recommend that. The builtin Bluetooth adapters of all Pi’s seem to be very short-range and buggy.

V2: The error message gives already quite a good clue what the issue is. You didn’t define any icon. As a fallback, it tries to resolve the label as an icon, but this fails, of course, as your label cannot be resolved to an icon. You always need a 9x9 LED matrix icon.

Anyhow, both problems are different ones than the problem by @gekberlin.

Ok. Thx.

Maybe V1 is the reason. At first i was using a raspi v2 whit an bt adapter. And it worked. So i will try this setup again.

Maybe V2 was a copy paste error because of testing.

I will do more testing and report here.

Thanks for you time!

Chris