Hi.
How do I insert an item in OH2 if it doesn’t show in the OH2 log but in rfxmanager
It is a weather station on Rubicson
Are you sure that you do not see any rfxcom messages even when you have switched on DEBUG level logging?
In a karaf console enter
log:set DEBUG org.openhab.binding.rfxcom
Hi Robert
i get a respond in DEBUG mode, but how can i get this in to an item with temperature and humidity:
19:58:42.394 [DEBUG] [g.rfxcom.handler.RFXComBridgeHandler] - Message received: Raw data = 0A520E0894010103320179, Packet type = TEMPERATURE_HUMIDITY, Seq number = 8, Sub type = UNKNOWN, Device Id = 37889, Temperature = 25.900000000000002, Humidity = 50, Humidity status = COMFORT, Signal level = 7, Battery level = 9
19:58:42.396 [DEBUG] [scovery.RFXComDeviceDiscoveryService] - Error occurred during device discovery
org.openhab.binding.rfxcom.internal.exceptions.RFXComException: Unknown sub type 14
at org.openhab.binding.rfxcom.internal.messages.RFXComTemperatureHumidityMessage.convertSubType(RFXComTemperatureHumidityMessage.java:268)[228:org.openhab.binding.rfxcom:2.0.0]
at org.openhab.binding.rfxcom.internal.discovery.RFXComDeviceDiscoveryService.onDeviceMessageReceived(RFXComDeviceDiscoveryService.java:73)[228:org.openhab.binding.rfxcom:2.0.0]
at org.openhab.binding.rfxcom.handler.RFXComBridgeHandler$MessageListener.packetReceived(RFXComBridgeHandler.java:401)[228:org.openhab.binding.rfxcom:2.0.0]
at org.openhab.binding.rfxcom.internal.connector.RFXComBaseConnector.sendMsgToListeners(RFXComBaseConnector.java:49)[228:org.openhab.binding.rfxcom:2.0.0]
at org.openhab.binding.rfxcom.internal.connector.RFXComStreamReader.run(RFXComStreamReader.java:103)[228:org.openhab.binding.rfxcom:2.0.0]
19:58:42.402 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:8afe7518 message: Raw data = 0A520E0894010103320179, Packet type = TEMPERATURE_HUMIDITY, Seq number = 8, Sub type = UNKNOWN, Device Id = 37889, Temperature = 25.900000000000002, Humidity = 50, Humidity status = COMFORT, Signal level = 7, Battery level = 9
I added it manually in things and that did the job.
Thx
Hi again
Now I have added my rain sensor, and seems that it can not show 0,x numbers, integer works fine
does anyone have the solution to it
20:08:04.648 [DEBUG] [binding.rfxcom.handler.RFXComHandler] - Received message from bridge: rfxcom:bridge:8afe7518 message: Raw data = 0B550758010100000000737 9, Packet type = RAIN, Seq number = 88, Sub type = UNKNOWN, Device Id = 257, Rain rate = 0.0, Rain total = 11.5, Signal level = 7, Battery level = 9
20:08:05.279 [WARN ] [ui.internal.items.ItemUIRegistryImpl] - Exception while formatting value ‘11.5’ of item RFXCOMRainSensor_RainTotal with format ‘%d mm’: java.util.IllegalFormatConversionException: d != java.math.BigDecimal
I have quite the similar issue, but cant manage to get this to work with manual setup. Could you share your setup for this to see where I go wrong?
I just added a manuel rfxcom rain sensor, and put in my device id 257 and then it worked
For the .0 issue I installed this rfxcom snapshot, this has solved this issue: