Comments (6)
The issue arrises because the switch has the value 0
and 1
instead of ON
or OFF
.
Invalid value for SwitchItem HSM200LightControlStatus4: 1
Unfortunately I am unfamiliar with the MiOS binding, but I found something with transformations in the documentation.
Have you set it up accordingly? Hope this helps.
BTW, I'm not saying there is anything wrong with your great library, my OH installation has grown over the years, and there is some weird convoluted stuff in there.
No problem, I'd happily fix any bugs or discuss problems/issues.
from habapp.
from habapp.
My understanding is that you just need to create the transformation file (miosSwitchIn.map) and it should work.
1=ON
0=OFF
from habapp.
The file miosSwitchIn.map
does exist in the transforms directory, its contents are:
1=ON
0=OFF
true=ON
false=OFF
TRUE=ON
FALSE=OFF
yes=ON
no=OFF
YES=ON
NO=OFF
Also interestingly I don't actually use any of those items anywhere - as i say, they were created by a script, that just maps all the Vera configurations to OH items.
I'll try adding {,in:<inTransform>}
see if that fixes it.
UPDATE:,
OK, added ,in:MAP(miosSwitchIn.map),out:MAP(miosSwitchOut.map)
to the items, I'll see if the error go away.
from habapp.
OK, adding that seems to have fixed the issue, no more errors when I trigger the devices (that I don't use anyway).
from habapp.
Okay, thanks for the feedback!
from habapp.
Related Issues (20)
- Add easy way to run python scripts
- Log rule files with pending dependencies (e.g. if the file does not exist)
- Thing: provide more information HOT 7
- Add traceback example to docs
- Don't connect to openHAB when user and password is empty
- Add open/close to ContactItem
- ValueError: Chunk too big HOT 1
- Thing action support
- New StrEnumItem
- set_persistence_data : Attempt to decode JSON with unexpected mimetype HOT 7
- Reloading logging config does not restart the logging thread
- Logs full of exceptions after upgrading to 1.0.7 pypi HOT 9
- Doc tweaks HOT 3
- Logging QOL HOT 8
- Rework FileWatcher
- pre-1.0.0 images no longer available in dockerhub HOT 1
- Prevent adding rules after the file was loaded HOT 1
- Use msgspec for openhab communication
- Show warning when using UoM items
- Add support for creating semantic tags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from habapp.