We have moved at community.getvera.com

Author Topic: Need assistance getting my openHAB environment working  (Read 9345 times)

Offline Lockzi

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Need assistance getting my openHAB environment working
« Reply #15 on: April 15, 2015, 05:26:40 pm »
You should try binding:
Quote
    {mios="unit:DBHomeVeraEdge,device:6/service/TemperatureSetpoint1_Heat/CurrentSetpoint"}
OR
    {mios="unit:DBHomeVeraEdge,device:6/service/urn:upnp-org:serviceId:TemperatureSetpoint1_Heat/CurrentSetpoint"}

instead of:
Quote
    {mios="unit:DBHomeVeraEdge,device:6/service/urn:upnp-org:serviceId:TemperatureSetpoint1/SetpointTarget,command:MAP(miosTStatSetpointHeatCommand.map)"}

I'm not sure where you definition came from, as the ones in the Documentation appear to be correct:
    https://github.com/openhab/openhab/wiki/MiOS-Binding#a-thermostat



This is what my [DEBUG] logs show through that same sequence, when initiated from an iPhone using the [aliased] green-highlighted definition above:

Code: [Select]
13:54:27.494 DEBUG o.o.i.r.i.r.ItemResource[:197]- Received HTTP POST request at 'items/ThermostatUpstairsHeatCurrentSetpoint' with value '52.0'.
13:54:27.498 DEBUG o.o.b.m.internal.MiosBinding[:252]- internalReceiveCommand: itemName 'ThermostatUpstairsHeatCurrentSetpoint', command '52.0'
13:54:27.501 DEBUG o.o.b.m.i.MiosUnitConnector[:175]- invokeDevice: Need to remote-invoke Device 'unit:house,device:335/service/urn:upnp-org:serviceId:TemperatureSetpoint1_Heat/CurrentSetpoint' action '52.0' and current state '52')
13:54:27.504 WARN  o.o.c.t.i.s.MapTransformationService[:70]- Could not find a mapping for '52.0' in the file 'miosTStatSetpointHeatCommand.map'.
13:54:27.505 DEBUG o.o.b.m.i.MiosUnitConnector[:200]- invokeDevice: decoded as serviceName 'urn:upnp-org:serviceId:TemperatureSetpoint1_Heat' serviceAction 'SetCurrentSetpoint' serviceParam 'NewCurrentSetpoint' serviceValue '??'
13:54:27.507 DEBUG o.o.b.m.i.MiosUnitConnector[:246]- callMios: Would like to fire off the URL 'http://192.168.1.xxx:3480/data_request?id=action&DeviceNum=335&serviceId=urn%3Aupnp-org%3AserviceId%3ATemperatureSetpoint1_Heat&action=SetCurrentSetpoint&NewCurrentSetpoint=52.0'

This is my Heat Setpoint definition:
Code: [Select]
Number   ThermostatUpstairsHeatCurrentSetpoint "Heat Setpoint [%.1f ?F]" <temperature> (GThermostatUpstairs) {mios="unit:house,device:335/service/TemperatureSetpoint1_Heat/CurrentSetpoint"}

So it'll pickup all the internal defaults for "command:" etc.


And here's the [standard] contents of my miosTStatSetpointHeatCommand.map file, just for reference:
Code: [Select]
    _defaultCommand=urn:upnp-org:serviceId:TemperatureSetpoint1_Heat/SetCurrentSetpoint(NewCurrentSetpoint=??)


Maybe I didn't get it, but I have the same problem...

Running Mac OS X with Safari with GreenT interface.


Console output:

Code: [Select]
23:21:38.135 [DEBUG] [o.i.r.i.resources.ItemResource:197  ] - Received HTTP POST request at 'items/FloorHeatingCurrentSetpointHeat/' with value '15'.
23:21:38.142 [DEBUG] [o.i.t.m.i.MqttBrokerConnection:437  ] - Publishing message 63 to topic '/openHAB/out/FloorHeatingCurrentSetpointHeat/command'
23:21:38.147 [INFO ] [runtime.busevents             :22   ] - FloorHeatingCurrentSetpointHeat received command 15
23:21:38.150 [WARN ] [t.i.s.MapTransformationService:87   ] - Could not find a mapping for '15' in the file 'miosTStatSetpointHeatCommand.map'.
23:21:38.306 [INFO ] [runtime.busevents             :26   ] - FloorHeatingDeviceStatus state updated to PENDING
23:21:38.308 [INFO ] [runtime.busevents             :26   ] - SystemLoadTime state updated to 2015-04-14T22:39:00
23:21:38.324 [INFO ] [runtime.busevents             :26   ] - SystemDataVersion state updated to 43955426
23:21:38.327 [INFO ] [runtime.busevents             :26   ] - SystemUserDataDataVersion state updated to 43940036
23:21:38.347 [INFO ] [runtime.busevents             :26   ] - SystemTimeStamp state updated to 2015-04-15T23:21:35
23:21:38.356 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatus state updated to 1
23:21:38.359 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatusString state updated to OK
23:21:38.379 [INFO ] [runtime.busevents             :26   ] - SystemLocalTime state updated to 2015-04-15 23:21:35 N
23:21:38.382 [INFO ] [runtime.busevents             :26   ] - SystemLoadTime state updated to 2015-04-14T22:39:00
23:21:38.417 [INFO ] [runtime.busevents             :26   ] - SystemDataVersion state updated to 43955428
23:21:38.424 [INFO ] [runtime.busevents             :26   ] - SystemUserDataDataVersion state updated to 43940036
23:21:38.429 [INFO ] [runtime.busevents             :26   ] - SystemTimeStamp state updated to 2015-04-15T23:21:35
23:21:38.436 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatus state updated to 1
23:21:38.439 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatusString state updated to OK
23:21:38.453 [INFO ] [runtime.busevents             :26   ] - SystemLocalTime state updated to 2015-04-15 23:21:35 N
23:21:38.460 [INFO ] [runtime.busevents             :26   ] - SystemLoadTime state updated to 2015-04-14T22:39:00
23:21:38.482 [INFO ] [runtime.busevents             :26   ] - SystemDataVersion state updated to 43955430
23:21:38.484 [INFO ] [runtime.busevents             :26   ] - SystemUserDataDataVersion state updated to 43940036
23:21:38.486 [INFO ] [runtime.busevents             :26   ] - SystemTimeStamp state updated to 2015-04-15T23:21:35
23:21:38.495 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatus state updated to 1
23:21:38.497 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatusString state updated to OK
23:21:38.499 [INFO ] [runtime.busevents             :26   ] - SystemLocalTime state updated to 2015-04-15 23:21:35 N
23:21:38.513 [INFO ] [runtime.busevents             :26   ] - FloorHeatingDeviceStatus state updated to SUCCESS
23:21:38.520 [INFO ] [runtime.busevents             :26   ] - SystemLoadTime state updated to 2015-04-14T22:39:00
23:21:38.539 [INFO ] [runtime.busevents             :26   ] - SystemDataVersion state updated to 43955432
23:21:38.541 [INFO ] [runtime.busevents             :26   ] - SystemUserDataDataVersion state updated to 43940036
23:21:38.545 [INFO ] [runtime.busevents             :26   ] - SystemTimeStamp state updated to 2015-04-15T23:21:35
23:21:38.552 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatus state updated to 1
23:21:38.554 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatusString state updated to OK
23:21:38.564 [INFO ] [runtime.busevents             :26   ] - SystemLocalTime state updated to 2015-04-15 23:21:35 N
23:21:39.488 [DEBUG] [o.i.r.i.resources.ItemResource:197  ] - Received HTTP POST request at 'items/FloorHeatingCurrentSetpointCool/' with value '15'.
23:21:39.500 [DEBUG] [o.i.t.m.i.MqttBrokerConnection:437  ] - Publishing message 64 to topic '/openHAB/out/FloorHeatingCurrentSetpointCool/command'
23:21:39.502 [INFO ] [runtime.busevents             :22   ] - FloorHeatingCurrentSetpointCool received command 15
23:21:39.504 [WARN ] [t.i.s.MapTransformationService:87   ] - Could not find a mapping for '15' in the file 'miosTStatSetpointCoolCommand.map'.
23:21:39.631 [INFO ] [runtime.busevents             :26   ] - FloorHeatingDeviceStatus state updated to PENDING
23:21:39.636 [INFO ] [runtime.busevents             :26   ] - SystemLoadTime state updated to 2015-04-14T22:39:00
23:21:39.653 [INFO ] [runtime.busevents             :26   ] - SystemDataVersion state updated to 43955435
23:21:39.656 [INFO ] [runtime.busevents             :26   ] - SystemUserDataDataVersion state updated to 43940036
23:21:39.666 [INFO ] [runtime.busevents             :26   ] - SystemTimeStamp state updated to 2015-04-15T23:21:36
23:21:39.668 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatus state updated to 1
23:21:39.671 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatusString state updated to OK
23:21:39.683 [INFO ] [runtime.busevents             :26   ] - SystemLocalTime state updated to 2015-04-15 23:21:36 N
23:21:39.703 [INFO ] [runtime.busevents             :26   ] - SystemLoadTime state updated to 2015-04-14T22:39:00
23:21:39.721 [INFO ] [runtime.busevents             :26   ] - SystemDataVersion state updated to 43955437
23:21:39.734 [INFO ] [runtime.busevents             :26   ] - SystemUserDataDataVersion state updated to 43940036
23:21:39.745 [INFO ] [runtime.busevents             :26   ] - SystemTimeStamp state updated to 2015-04-15T23:21:36
23:21:39.753 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatus state updated to 1
23:21:39.756 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatusString state updated to OK
23:21:39.763 [INFO ] [runtime.busevents             :26   ] - SystemLocalTime state updated to 2015-04-15 23:21:36 N
23:21:39.791 [INFO ] [runtime.busevents             :26   ] - FloorHeatingDeviceStatus state updated to SUCCESS
23:21:39.793 [INFO ] [runtime.busevents             :26   ] - SystemLoadTime state updated to 2015-04-14T22:39:00
23:21:39.805 [INFO ] [runtime.busevents             :26   ] - SystemDataVersion state updated to 43955439
23:21:39.808 [INFO ] [runtime.busevents             :26   ] - SystemUserDataDataVersion state updated to 43940036
23:21:39.811 [INFO ] [runtime.busevents             :26   ] - SystemTimeStamp state updated to 2015-04-15T23:21:36
23:21:39.814 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatus state updated to 1
23:21:39.817 [INFO ] [runtime.busevents             :26   ] - SystemZWaveStatusString state updated to OK

.items file

Code: [Select]
/* Device - Floor Heating */
Number   FloorHeatingId "ID [%d]" (GDevices) {mios="unit:Edge,device:121/id"}
String   FloorHeatingDeviceStatus "Floor Heating Device Status [MAP(miosDeviceStatusUI.map):%s]" (GDevices) {mios="unit:Edge,device:121/status"}
String   FloorHeatingConfigured "Floor Heating Configured [%s]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/HaDevice1/Configured"}
Switch   FloorHeatingStatus "Floor Heating Status" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/SwitchPower1/Status"}
String   FloorHeatingModeSetting "Floor Heating FIXME ModeSetting [%s]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/HaDevice1/ModeSetting"}
DateTime FloorHeatingLastUpdate "Floor Heating Last Update [%1$ta, %1$tm/%1$te %1$tR]" <calendar> (GDevices,GRoom9) {mios="unit:Edge,device:121/service/HaDevice1/LastUpdate"}
DateTime FloorHeatingFirstConfigured "Floor Heating First Configured [%1$ta, %1$tm/%1$te %1$tR]" <calendar> (GDevices,GRoom9) {mios="unit:Edge,device:121/service/HaDevice1/FirstConfigured"}
String   FloorHeatingChildrenSameRoom "Floor Heating FIXME ChildrenSameRoom [%s]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/HaDevice1/ChildrenSameRoom"}
Number   FloorHeatingCurrentTemperature "Floor Heating Current Temperature [%.1f ?C]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/TemperatureSensor1/CurrentTemperature"}
String   FloorHeatingSetpointTarget "Floor Heating FIXME SetpointTarget [%s]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/urn:upnp-org:serviceId:TemperatureSetpoint1/SetpointTarget"}
String   FloorHeatingAllSetpoints "Floor Heating FIXME AllSetpoints [%s]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/urn:upnp-org:serviceId:TemperatureSetpoint1/AllSetpoints"}
String   FloorHeatingCurrentSetpoint20 "Floor Heating Current Setpoint [%s]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/urn:upnp-org:serviceId:TemperatureSetpoint1/CurrentSetpoint"}
Number   FloorHeatingCurrentSetpointHeat "Floor Heating Current Setpoint [%.1f ?C]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/urn:upnp-org:serviceId:TemperatureSetpoint1_Heat/CurrentSetpoint"}
Number   FloorHeatingCurrentSetpointCool "Floor Heating Current Setpoint [%.1f ?C]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/TemperatureSetpoint1_Cool/CurrentSetpoint"}
String   FloorHeatingModeTarget "Floor Heating Mode Target [%s]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/HVAC_UserOperatingMode1/ModeTarget"}
String   FloorHeatingModeStatus "Floor Heating Mode Status [%s]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/HVAC_UserOperatingMode1/ModeStatus"}
Number   FloorHeatingCommFailure "Floor Heating Comms Failure [%d]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/HaDevice1/CommFailure"}
String   FloorHeatingCommFailureTime "Floor Heating FIXME CommFailureTime [%s]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/HaDevice1/CommFailureTime"}

Notice I am using both:
Number   FloorHeatingCurrentSetpointHeat "Floor Heating Current Setpoint [%.1f ?C]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/urn:upnp-org:serviceId:TemperatureSetpoint1_Heat/CurrentSetpoint"}

Number   FloorHeatingCurrentSetpointCool "Floor Heating Current Setpoint [%.1f ?C]" (GDevices,GRoom9) {mios="unit:Edge,device:121/service/TemperatureSetpoint1_Cool/CurrentSetpoint"}

Transform file (miosTStatSetpointCoolCommand.map:
Code: [Select]
_defaultCommand=urn:upnp-org:serviceId:TemperatureSetpoint1_Cool/SetCurrentSetpoint(NewCurrentSetpoint=??)
Transform file (miosTStatSetpointHeatCommand.map:
Code: [Select]
_defaultCommand=urn:upnp-org:serviceId:TemperatureSetpoint1_Heat/SetCurrentSetpoint(NewCurrentSetpoint=??)




And sitemap:
Code: [Select]
Frame label="Floor Heating" {
Text     item=FloorHeatingCurrentTemperature
    Setpoint item=FloorHeatingCurrentSetpointHeat minValue=15 maxValue=32
    Setpoint item=FloorHeatingCurrentSetpointCool minValue=15 maxValue=32
    Text     item=FloorHeatingStatus
    Switch   item=FloorHeatingModeStatus mappings=[HeatOn="Heat", CoolOn="Cool", AutoChangeOver="Auto", Off="Off"]
}
« Last Edit: April 15, 2015, 06:03:46 pm by Lockzi »

Offline guessed

  • Moderator
  • Master Member
  • *****
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: Need assistance getting my openHAB environment working
« Reply #16 on: April 15, 2015, 07:18:10 pm »
Manually validating the config you've posted here, it looks to be correct and quite different than what was posted by @d55m14.

A few quick questions:
  • a) What is the specific problem you're observing?
  • b) Does it happen with the Classic UI, the iPhone App or anything other than GreenT?
  • c) What versions of the Binaries are you running? (ie. is it all coming from 1.7 Cloudbees, or something else)
  • d) Did you hand-build any part of your Item file? (the generator should have gotten the _Heat entry correct, but yours looks different and if-so, what's the output of "diff" against the standard Item generator output)

Overall the Console log posted seems a little light, can you look at the OH/logs/openhab.log file instead?  You should see a lot of activity there.  In particular, you'll want to go over it from a "clean" start, and see if there are errors in the logs (you can search on "ERROR" in the logfile)

Offline Lockzi

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Need assistance getting my openHAB environment working
« Reply #17 on: April 16, 2015, 12:11:58 pm »
Guessed,

thank you for replying.

Unfortunately I only use GreenT and has been for so long. I will look into how you use Classic UI (Been a loong time since I moved far far away from it! ;) ). I have however very very hard time believing that GreenT is at fault as I have Setpoints for other items (not mios) that works well.

In the mean while:

a)
I am unable to change the set points. It is forced to the min value due to that OpenHAB can't translate the value I am incrementing. Thus what I see from a clean start is:
https://www.dropbox.com/s/4ldfh6ae3z5qczs/Screen%20Shot%202015-04-16%20at%2017.51.43%20pm.png?dl=0

When I click the + sign to increment the setpoint (the Third item) it gives me an error in the console from the previous console log, and the value on the left 0.0 *C changes to 15.0 *C
https://www.dropbox.com/s/ecfavqwjkr8sv7o/Screen%20Shot%202015-04-16%20at%2017.51.52%20pm.png?dl=0

b)
I will try that in a while.

c)
I am running OpenHAB 1.6.2 with mios 1.7.0 snapshot

d)
The generator got it correct, what you see in my previous post is that I tried it both ways. Both with alias as well as the exact upnp command. Both behaves the same way. I have since changed the upnp back to what the tool generated (alias).



error output mios.log:
Code: [Select]
/opt/openhab/logs$ cat mios.log | grep ERROR
2015-04-16 17:59:50.893 [TRACE] [b.m.i.config.MiosBindingConfig] - createState: Converted 'ERROR' to 'org.openhab.core.library.types.StringType', bound to 'class org.openhab.core.library.items.StringItem'
2015-04-16 17:59:50.893 [TRACE] [.o.b.mios.internal.MiosBinding] - internalPropertyUpdate: transformation performed, from '2' to 'ERROR'
2015-04-16 17:59:50.893 [DEBUG] [.o.b.mios.internal.MiosBinding] - internalPropertyUpdate: BOUND (Full) Updating 'WoodSticksDeviceStatus {mios="unit:Edge,device:127/status"}' to 'ERROR', was 'Uninitialized'
2015-04-16 17:59:50.893 [TRACE] [.o.b.mios.internal.MiosBinding] - internalPropertyUpdate: BOUND {mios="unit:Edge,device:127/status"}, value=ERROR, bound 1 time(s)
2015-04-16 17:59:51.499 [TRACE] [b.m.i.config.MiosBindingConfig] - createState: Converted 'ERROR' to 'org.openhab.core.library.types.StringType', bound to 'class org.openhab.core.library.items.StringItem'
2015-04-16 17:59:51.499 [TRACE] [.o.b.mios.internal.MiosBinding] - internalPropertyUpdate: transformation performed, from '2' to 'ERROR'
2015-04-16 17:59:51.499 [DEBUG] [.o.b.mios.internal.MiosBinding] - internalPropertyUpdate: BOUND (Full) Updating 'StarDeviceStatus {mios="unit:Edge,device:137/status"}' to 'ERROR', was 'Uninitialized'
2015-04-16 17:59:51.500 [TRACE] [.o.b.mios.internal.MiosBinding] - internalPropertyUpdate: BOUND {mios="unit:Edge,device:137/status"}, value=ERROR, bound 1 time(s)
2015-04-16 17:59:59.251 [TRACE] [.o.b.mios.internal.MiosBinding] - internalReceiveUpdate: itemName 'WoodSticksDeviceStatus', newState 'ERROR', class 'class org.openhab.core.library.types.StringType'
2015-04-16 18:00:02.089 [TRACE] [.o.b.mios.internal.MiosBinding] - internalReceiveUpdate: itemName 'StarDeviceStatus', newState 'ERROR', class 'class org.openhab.core.library.types.StringType'


openhab.log output:
Code: [Select]
/opt/openhab/logs$ cat openhab.log | grep ERROR
17:59:01.188 [ERROR] [sphere.cpr.AtmosphereFramework:2215 ] -
17:59:24.067 [ERROR] [sphere.cpr.AtmosphereFramework:2215 ] -
17:59:42.600 [ERROR] [b.z.i.protocol.ZWaveController:391  ] - Port /dev/ttyUSB0 does not exist
17:59:43.083 [ERROR] [b.s.internal.SysteminfoBinding:416  ] - System monitor error: {}
17:59:59.552 [ERROR] [i.i.InfluxDBPersistenceService:350  ] - query failed with database error
17:59:59.563 [ERROR] [i.i.InfluxDBPersistenceService:201  ] - database error: Couldn't find series: update_greent
17:59:59.581 [ERROR] [i.i.InfluxDBPersistenceService:350  ] - query failed with database error
17:59:59.589 [ERROR] [i.i.InfluxDBPersistenceService:201  ] - database error: Couldn't find series: Roomba
17:59:59.727 [ERROR] [i.i.InfluxDBPersistenceService:350  ] - query failed with database error
17:59:59.730 [ERROR] [i.i.InfluxDBPersistenceService:201  ] - database error: Couldn't find series: ROOMBA_Dock
18:00:00.193 [ERROR] [i.i.InfluxDBPersistenceService:350  ] - query failed with database error
18:00:00.194 [ERROR] [i.i.InfluxDBPersistenceService:201  ] - database error: Couldn't find series: ROOMBA_Dirt_Detector_Right
18:00:00.267 [ERROR] [i.i.InfluxDBPersistenceService:350  ] - query failed with database error
18:00:00.274 [ERROR] [i.i.InfluxDBPersistenceService:201  ] - database error: Couldn't find series: ROOMBA_Buttons
18:00:01.114 [ERROR] [i.i.InfluxDBPersistenceService:350  ] - query failed with database error
18:00:01.115 [ERROR] [i.i.InfluxDBPersistenceService:201  ] - database error: Couldn't find series: GPersist
18:00:01.135 [ERROR] [i.i.InfluxDBPersistenceService:350  ] - query failed with database error
18:00:01.138 [ERROR] [i.i.InfluxDBPersistenceService:201  ] - database error: Couldn't find series: GSystem
18:00:01.167 [ERROR] [i.i.InfluxDBPersistenceService:350  ] - query failed with database error
18:00:01.169 [ERROR] [i.i.InfluxDBPersistenceService:201  ] - database error: Couldn't find series: GScenes
18:00:01.181 [ERROR] [i.i.InfluxDBPersistenceService:350  ] - query failed with database error
18:00:01.186 [ERROR] [i.i.InfluxDBPersistenceService:201  ] - database error: Couldn't find series: GRoom3
18:00:01.216 [ERROR] [i.i.InfluxDBPersistenceService:350  ] - query failed with database error
18:00:01.218 [ERROR] [i.i.InfluxDBPersistenceService:201  ] - database error: Couldn't find series: ServerRoomTempLastUpdate

events.log output:
Code: [Select]
/opt/openhab/logs$ cat events.log | grep -i floor
2015-04-16 17:59:57 - FloorHeatingDeviceStatus state updated to NONE
2015-04-16 17:59:57 - FloorHeatingModeTarget state updated to AutoChangeOver
2015-04-16 17:59:57 - FloorHeatingModeStatus state updated to HeatOn
2015-04-16 17:59:57 - FloorHeatingCurrentTemperature state updated to 28
2015-04-16 17:59:57 - FloorHeatingSetpointTarget state updated to 15
2015-04-16 17:59:57 - FloorHeatingAllSetpoints state updated to 15,0,27
2015-04-16 17:59:57 - FloorHeatingCurrentSetpoint20 state updated to 15
2015-04-16 17:59:57 - FloorHeatingCurrentSetpointHeat state updated to 15
2015-04-16 17:59:57 - FloorHeatingCurrentSetpointCool state updated to 0
2015-04-16 17:59:57 - FloorHeatingStatus state updated to ON
2015-04-16 17:59:57 - FloorHeatingConfigured state updated to 1
2015-04-16 17:59:57 - FloorHeatingModeSetting state updated to 1:;2:;3:;4:
2015-04-16 17:59:57 - FloorHeatingLastUpdate state updated to 2015-04-03T00:05:40
2015-04-16 17:59:57 - FloorHeatingFirstConfigured state updated to 2015-04-03T00:05:40
2015-04-16 17:59:57 - FloorHeatingChildrenSameRoom state updated to 1
2015-04-16 17:59:57 - FloorHeatingCommFailure state updated to 0
2015-04-16 17:59:57 - FloorHeatingCommFailureTime state updated to 0
2015-04-16 17:59:57 - FloorHeatingId state updated to 121
2015-04-16 17:59:57 - FloorTemperatureDeviceStatus state updated to NONE
2015-04-16 17:59:57 - FloorTemperatureCurrentTemperature state updated to 28
2015-04-16 17:59:57 - FloorTemperatureId state updated to 122
2015-04-16 17:59:57 - FloorLampDeviceStatus state updated to NONE
2015-04-16 17:59:57 - FloorLampStatus state updated to OFF
2015-04-16 17:59:57 - FloorLampTarget state updated to 0
2015-04-16 17:59:58 - FloorLampWatts state updated to 0
2015-04-16 17:59:58 - FloorLampLog state updated to 0,0,0,1429198200,1
2015-04-16 17:59:58 - FloorLampActualUsage state updated to 1
2015-04-16 17:59:58 - FloorLampKWH state updated to 0.0000
2015-04-16 17:59:58 - FloorLampKWHReading state updated to 2015-04-16T17:41:20
2015-04-16 17:59:58 - FloorLampConfigured state updated to 1
2015-04-16 17:59:58 - FloorLampModeSetting state updated to 1:;2:;3:;4:
2015-04-16 17:59:58 - FloorLampLastUpdate state updated to 2015-04-09T17:45:23
2015-04-16 17:59:58 - FloorLampFirstConfigured state updated to 2015-04-09T17:45:23
2015-04-16 17:59:58 - FloorLampId state updated to 123
2015-04-16 18:00:03 - FloorLampKWHReading state updated to 2015-04-16T17:59:40
2015-04-16 18:00:03 - FloorLampId state updated to 123
2015-04-16 18:01:16 - FloorHeatingCurrentSetpointHeat received command 15
2015-04-16 18:01:37 - FloorHeatingDeviceStatus state updated to SUCCESS
2015-04-16 18:02:08 - FloorHeatingDeviceStatus state updated to NONE
2015-04-16 18:12:46 - FloorHeatingCurrentSetpointCool received command 15
2015-04-16 18:13:01 - FloorHeatingCurrentSetpointCool state updated to 0
« Last Edit: April 16, 2015, 12:14:51 pm by Lockzi »

Offline guessed

  • Moderator
  • Master Member
  • *****
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: Need assistance getting my openHAB environment working
« Reply #18 on: April 16, 2015, 03:17:53 pm »
Unfortunately I only use GreenT and has been for so long. I will look into how you use Classic UI (Been a loong time since I moved far far away from it! ;) ). I have however very very hard time believing that GreenT is at fault as I have Setpoints for other items (not mios) that works well.
It's more a process of elimination.  I found that there are differences in the interaction between iPhone/Android and ClassicUI components, and this can sometimes impact the downstream services.

The big one is that all of the above clients send "Commands" when you interact with them.  These Commands take various forms, but are up to the Binding to transform them into whatever is needed to initiate the change in the target system.

All good, but Bindings can also take postings of ValuesSome bindings will take these values, and do something similar to send them off to the Target system... but these Values are pushed to the Binding in the same manner they would be if the Value changed on the target system.... and the Binding author has to magically discern what type they're seeing (techniques which can easily be prone to error)

The MiOS Binding only handles Commands in order to make changes to the target MiOS Unit, since that's what the predominant client set does.  I've not used GreenT, so I've not seen how it interacts, so it's possible that this client is doing something different... list posting a Value update, which my Binding would duly ignore (although, the actual Item State in openHAB would be changed, since that's how openHAB works)

Looking at your Event logs, what I'm seeing is lines like this:
Code: [Select]
2015-04-16 17:59:57 - FloorHeatingCurrentSetpointHeat state updated to 15
2015-04-16 17:59:57 - FloorHeatingCurrentSetpointCool state updated to 0

which means something is setting the value to 15 (Heat) and 0 (Cool) respectively.  That could simply be openHAB "starting up", since the Binding will fetch the [current] values at that time, or it could be Persistence State restoring at Startup...  The Full openhab.log, and in your custom-configured mios.log, would need to be consulted to see which it really is.

At the same time, your logs also show this:
Code: [Select]
2015-04-16 18:12:46 - FloorHeatingCurrentSetpointCool received command 15
2015-04-16 18:13:01 - FloorHeatingCurrentSetpointCool state updated to 0

So even though a Command was received to set the value to 15, a short time passes and the Value is set back to 0....  If you look in the logs, you'll see exactly where these are coming from (esp since you have TRACE Level logging enabled).  I detail-log exactly what's been sent to Vera, the Target URL's etc.  The Cloudbees version of my Binding also has code that logs what "comes back" from Vera during these calls (if in TRACE mode) just in case there's an error there.

You can also look in the /var/log/cmh/LuaUPnP.log file on Vera to see what it's being told to do during the same timeframes.
« Last Edit: April 16, 2015, 03:20:12 pm by guessed »