Hi thanks for the reply. It is in utf8 and in the transform folder as i have a lot of other files in there.
I tried also lowercase and no underscore but with the same results.
I get this error now every time i try to refresh my ui
16:05:41.404 [WARN ] [orm.AbstractFileTransformationService] - Could not transform â-â with the file âboiler.mapâ : Target value not found in map for â-â
I give up!!! I have so many tranform files that are workin (map and scale). i dont know what to do.
Is there any other way to do that? I mean i have the info from my boiler and know what each code mean (500_80, 500_9 etc) how can i make those codes appear in openhab as descriptonns???
I included the lines you provide to an already working map (for in the one i created i get the same error) and now it always show âundefinedâ but when
Item âBoilerStatus_strâ received command 500_80
nothing changes
Maybe something to do with the underscore???
I wrote them in different lines as all of my other map files. I understand that the underscore itâs ok in the items name but what about in the map file?
As Rossko said there seems to be some irritations.
The item String BoilerStatus_str which you described above has no channel to receive a state, as far as I can see.
Is there a Rule which updates the state ? Or are you talking about two different Items ?
So what you can do to test your item and the corresponding map is:
Login to the shell (via Putty) and then go to the karaf-console. Then enter the following command:
smarthome:send BoilerStatus_str 500_9
This will change the items state and the result will look like in my screenshot (basic ui) above.
[17:30:38] openhabian@openHABPi:~$ openhab-cli console
Logging in as openhab
Password:
__ _____ ____
____ ____ ___ ____ / / / / | / __ )
/ __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __ |
/ /_/ / /_/ / __/ / / / __ / ___ |/ /_/ /
\____/ .___/\___/_/ /_/_/ /_/_/ |_/_____/
/_/ 2.5.0.M5
Milestone Build
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.
openhab> smarthome:send BoilerStatus_str 500_9
Command has been sent successfully.
openhab>