cedricboon / openhab-addons

Add-ons for openHAB 2.x
Eclipse Public License 2.0
6 stars 5 forks source link

Add module VMBGPOD-2 #17

Closed MDAR closed 4 years ago

MDAR commented 4 years ago

Hi

I have been manually adding the VMBGPOD-2 using the VMBGPOD profile, which for temperature sensing seems to work.

However today I have discovered that there is something different happening with the button events and feedback LEDS.

If I add a VMB8PBU and use the base address that is relavant for the buttons I'm trying to detect, it seems to work. The LED Feedback works if manually set in PaperUI, but for some reason the LED feedback state doesn't change if a rule changes the state.

When triggered from a rule, the state change is shown in the Events.log and in PaperUI, but nothing happens on the panel.

(we were trying with button 16 of a VMBGPOD-20)

cedricboon commented 4 years ago

I compared the protocol documentation, and besides the module type I couldn't find any differences that impact the code. I added the module types for the 2nd edition of the vmbgp1, vmbgp2, vmbgp4, vmbgp4pir and vmbgpod on this version: https://we.tl/t-d6hhpfvHyx

Can you give it a try?

MDAR commented 4 years ago

You're on fire again :smile:

I'll have to dig around my stock to find some V2 panels.

There might be some in the kit that I've just bought for the demo models for an upcoming training course....

MDAR commented 4 years ago

Oh dear...

(now this might be something I have done....)

I've got a fresh image of DietPi running on an Odroid C2, with openHAB 2.5.0 and this latest binding.

None of the channel events are showing up in the Events.log file.

All the connected Items are working (granted I've only added a few), just none of the VMB8PBU button events.

(I was testing out the NodeRed / DSl rules with Channel events)


Scratch that.

I disabled and re-enabled the Velbus Network bridge and everything is working now :-)

As you can see here-----

2020-01-13 14:18:45.383 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:17:45.374+0000 to 2020-01-13T14:18:45.377+0000
2020-01-13 14:19:45.389 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:18:45.377+0000 to 2020-01-13T14:19:45.378+0000
2020-01-13 14:20:45.390 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:19:45.378+0000 to 2020-01-13T14:20:45.380+0000
2020-01-13 14:21:45.397 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:20:45.380+0000 to 2020-01-13T14:21:45.382+0000
2020-01-13 14:22:45.403 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:21:45.382+0000 to 2020-01-13T14:22:45.385+0000
2020-01-13 14:23:45.402 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:22:45.385+0000 to 2020-01-13T14:23:45.388+0000
2020-01-13 14:24:45.401 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:23:45.388+0000 to 2020-01-13T14:24:45.390+0000
2020-01-13 14:25:34.254 [ome.event.ItemCommandEvent] - Item 'VMB4RYNO_240V' received command ON
2020-01-13 14:25:34.260 [nt.ItemStatePredictedEvent] - VMB4RYNO_240V predicted to become ON
2020-01-13 14:25:45.405 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:24:45.390+0000 to 2020-01-13T14:25:45.392+0000
2020-01-13 14:26:45.406 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:25:45.392+0000 to 2020-01-13T14:26:45.394+0000
2020-01-13 14:27:45.408 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:26:45.394+0000 to 2020-01-13T14:27:45.396+0000
2020-01-13 14:28:34.274 [ome.event.ItemCommandEvent] - Item 'VMB4RYNO_240V' received command ON
2020-01-13 14:28:34.276 [nt.ItemStatePredictedEvent] - VMB4RYNO_240V predicted to become ON
2020-01-13 14:28:45.416 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:27:45.396+0000 to 2020-01-13T14:28:45.399+0000
2020-01-13 14:29:45.416 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:28:45.399+0000 to 2020-01-13T14:29:45.402+0000
2020-01-13 14:30:45.411 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:29:45.402+0000 to 2020-01-13T14:30:45.404+0000
2020-01-13 14:31:11.136 [hingStatusInfoChangedEvent] - 'velbus:vmb4ryno:cc1fc6fb:74' changed from ONLINE to UNINITIALIZED
2020-01-13 14:31:11.160 [hingStatusInfoChangedEvent] - 'velbus:vmb4ryno:cc1fc6fb:74' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2020-01-13 14:31:11.163 [hingStatusInfoChangedEvent] - 'velbus:vmb8pbu:cc1fc6fb:A0' changed from ONLINE to UNINITIALIZED
2020-01-13 14:31:11.188 [hingStatusInfoChangedEvent] - 'velbus:vmb8pbu:cc1fc6fb:A0' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)
2020-01-13 14:31:11.191 [hingStatusInfoChangedEvent] - 'velbus:networkbridge:cc1fc6fb' changed from ONLINE to UNINITIALIZED
2020-01-13 14:31:11.217 [hingStatusInfoChangedEvent] - 'velbus:networkbridge:cc1fc6fb' changed from UNINITIALIZED to UNINITIALIZED (DISABLED)
2020-01-13 14:31:11.221 [hingStatusInfoChangedEvent] - 'velbus:vmb4ryno:cc1fc6fb:74' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2020-01-13 14:31:11.222 [hingStatusInfoChangedEvent] - 'velbus:vmb8pbu:cc1fc6fb:A0' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to UNINITIALIZED (BRIDGE_UNINITIALIZED)
2020-01-13 14:31:19.159 [hingStatusInfoChangedEvent] - 'velbus:networkbridge:cc1fc6fb' changed from UNINITIALIZED (DISABLED) to INITIALIZING
2020-01-13 14:31:19.178 [hingStatusInfoChangedEvent] - 'velbus:networkbridge:cc1fc6fb' changed from INITIALIZING to ONLINE
2020-01-13 14:31:19.182 [hingStatusInfoChangedEvent] - 'velbus:vmb4ryno:cc1fc6fb:74' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2020-01-13 14:31:19.204 [hingStatusInfoChangedEvent] - 'velbus:vmb8pbu:cc1fc6fb:A0' changed from UNINITIALIZED (BRIDGE_UNINITIALIZED) to INITIALIZING
2020-01-13 14:31:19.234 [hingStatusInfoChangedEvent] - 'velbus:vmb4ryno:cc1fc6fb:74' changed from INITIALIZING to ONLINE
2020-01-13 14:31:19.243 [hingStatusInfoChangedEvent] - 'velbus:vmb8pbu:cc1fc6fb:A0' changed from INITIALIZING to ONLINE
2020-01-13 14:31:34.270 [ome.event.ItemCommandEvent] - Item 'VMB4RYNO_240V' received command ON
2020-01-13 14:31:34.273 [nt.ItemStatePredictedEvent] - VMB4RYNO_240V predicted to become ON
2020-01-13 14:31:45.412 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:30:45.404+0000 to 2020-01-13T14:31:45.406+0000
2020-01-13 14:31:51.939 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered PRESSED
2020-01-13 14:31:52.018 [vent.ItemStateChangedEvent] - VMB4RYNO_DoorWhite changed from NULL to ON
2020-01-13 14:31:52.065 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered RELEASED
2020-01-13 14:31:56.981 [vent.ItemStateChangedEvent] - VMB4RYNO_DoorWhite changed from ON to OFF
2020-01-13 14:31:58.061 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered PRESSED
2020-01-13 14:31:58.097 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered RELEASED
2020-01-13 14:31:58.276 [vent.ItemStateChangedEvent] - VMB4RYNO_DoorWhite changed from OFF to ON
2020-01-13 14:31:59.593 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered PRESSED
2020-01-13 14:31:59.673 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered RELEASED
2020-01-13 14:32:00.295 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered PRESSED
2020-01-13 14:32:00.369 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered RELEASED
2020-01-13 14:32:01.054 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered PRESSED
2020-01-13 14:32:01.144 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered RELEASED
2020-01-13 14:32:02.504 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered PRESSED
2020-01-13 14:32:02.584 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered RELEASED
2020-01-13 14:32:04.056 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered PRESSED
2020-01-13 14:32:04.176 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered RELEASED
2020-01-13 14:32:05.559 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered PRESSED
2020-01-13 14:32:05.636 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered RELEASED
2020-01-13 14:32:06.023 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered PRESSED
2020-01-13 14:32:06.096 [vent.ChannelTriggeredEvent] - velbus:vmb8pbu:cc1fc6fb:A0:input#CH8 triggered RELEASED
2020-01-13 14:32:11.270 [vent.ItemStateChangedEvent] - VMB4RYNO_DoorWhite changed from ON to OFF
2020-01-13 14:32:45.427 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:31:45.406+0000 to 2020-01-13T14:32:45.407+0000
2020-01-13 14:33:45.433 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:32:45.407+0000 to 2020-01-13T14:33:45.414+0000
2020-01-13 14:34:34.272 [ome.event.ItemCommandEvent] - Item 'VMB4RYNO_240V' received command ON
2020-01-13 14:34:34.276 [nt.ItemStatePredictedEvent] - VMB4RYNO_240V predicted to become ON
2020-01-13 14:34:45.434 [vent.ItemStateChangedEvent] - LocalTime_Date changed from 2020-01-13T14:33:45.414+0000 to 2020-01-13T14:34:45.417+0000
MDAR commented 4 years ago

☹️ I've been through all of the spare Glass Panels in my stock and there isn't a V2 module among them, even the batch that was delivered a few weeks ago.

I'll have to wait for the next order to pass through my office (most stuff goes direct to clients), unless I can remote into a client's installation, which is an option.

MDAR commented 4 years ago

I can finally confirm that the Binding does support the VMBGPOD-2 modules....

Sorry for the delay