hey guys
ive been stuck on this for a few days now.
trying to use globlal cache ip2ir with globlalcache binding.
i have added the binding.
made sure ip is correct and map file is ip2ir.maps in the
transform folder.
in the binding page it has items file and sitemap file so i added them as well.
2 lines from maps file (all lines are similar)
SONYL_POWER_OFF - 40000,1,1,96,24,48,24,48,24,48,24,48,24,24,24,48,24,24,24,48,24,24,24,24,24,24,24,24,990
SONYL_POWER_ON - 40000,1,1,96,24,24,24,48,24,48,24,48,24,24,24,48,24,24,24,48,24,24,24,24,24,24,24,24,1013
items file
String SONYL âSony tv in living roomâ { channel=âglobalcache:itachIR:ec1232ce:ir-m1#c1â }
the ec1232ce part is from paperui. but all the docs that i have found have what looks like the mac address â000C1EE0FE90â.
sitemap file
Frame label=âSony tv Livingâ {
Switch item=SONYL label=âPowerâ mappings=[SONYL_POWER_ON=âOnâ,SONYL_POWER_OFF"Off"]
}
i dont get a switch or a drop down to chose option to send. i have to type in the command to send.
when i send On i get this error in the log
2017-12-29 10:21:15.275 [ome.event.ItemCommandEvent] - Item âSONYLâ received command On
2017-12-29 10:21:15.357 [vent.ItemStateChangedEvent] - SONYL changed from NULL to On
==> /var/log/openhab2/openhab.log <==
2017-12-29 10:21:15.396 [WARN ] [rm.AbstractFileTransformationService] - Could not transform âOnâ with the file âip2ir.mapâ : Target value not found in map for âOnâ
2017-12-29 10:21:15.402 [WARN ] [obalcache.handler.GlobalCacheHandler] - No entry for On in map file âip2ir.mapâ for thing itachIR:ec1232ce
when i type in the maps commend
âSONYL_POWER_ONâ
i get this error
2017-12-29 10:22:03.812 [ome.event.ItemCommandEvent] - Item âSONYLâ received command SONYL_POWER_ON
==> /var/log/openhab2/openhab.log <==
2017-12-29 10:22:03.831 [ERROR] [cache.internal.command.CommandSendir] - Execute âsendirâ failed on thing ec1232ce at 192.168.0.16: errorCode=005, errorMessage=Invalid frequency value
==> /var/log/openhab2/events.log <==
2017-12-29 10:22:03.834 [vent.ItemStateChangedEvent] - SONYL changed from On to SONYL_POWER_ON
any idea where i am going wrong and what i can do to fix?