Comments (6)
from iobroker.pimatic.
Please test.
from iobroker.pimatic.
THX for the very fast fix.
Just installed the update and it seems to work (I can see all devices and switch them from ioBroker). Great work!! If this check out to be stable I can get rid off a lot of scripts here and pimatic-rules pushing states between/from pimatic and/to ioBroker (implemented as MQTT as today while this interfaces hasn't exist).
Is it planned to also include pure variables here as a second class beside the devices (of course not active)? This would be really great because a lot of my rules are based on 'logical' or expression variables.
THX again
from iobroker.pimatic.
Ok, after some more testings: switching (switch devices) from ioBroker to pimatic doesn't work always when using VIS widgets.
There seems to be an issue with the different formats of boolean's (on, off, true, false 0, 1)
The 'translated pimatic' value in ioBroker objects for a switch device is 'off(false) / on(true)'. But in pimatic this boolean seems not to be interpreted right when I switch such a device from ioBroker:
Pimatix log:
error [pimatic]: Exprected state to be boolean, was: 0
error [pimatic]: Exprected state to be boolean, was: 1
This happens when I switch via VIS (jqui Radiobutton - labeled 'AN/AUS'). But I guess this is not an issue of the label - more an issue with the generic mapping.
Similar 'Givalabs iButton on/off (only tested these two variants for now) works.
Therefore I assume that there should be a 'common' mapping/way for transition of boolean values when giving back boolean values to pimatic.
Other way round (switching in pimatic -> updates value in ioBroker correctly) and directly changing in the object list in ioBroker Admin is working normally
from iobroker.pimatic.
Please check new version: https://github.com/ioBroker/ioBroker.pimatic/blob/master/main.js#L58
from iobroker.pimatic.
Great.
After update to 1.3 it also works with the jqui Radiobutton.
Thanks!!
from iobroker.pimatic.
Related Issues (19)
- Please add your adapter to ioBroker.discovery
- Add Variables to the "Export" HOT 13
- Update stable version in repo from 0.1.5 to 0.2.1
- Synchronisation of variables
- Pimatic Database is locked HOT 1
- Compatibility check and testing for Node.js 14 and 16
- remove use of adapter.tools
- Compatibility check to js-controller 4.0
- Update stable version in repo from 0.3.0 to 0.3.1
- Make adapter ready for Admin v3
- Pimatic adapter errors after migrating to controller 4.x
- Can't connect to pimatic HOT 7
- Synchronize pimatic data with iobroker
- connect Problems
- Fix testing, it is red currently
- Add Support for Compact mode (js-Controller 2.0 Feature)
- Think about to fix the issues found by adapter checker HOT 2
- Please check ioBroker.pimatic with js-controller 2.0
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 iobroker.pimatic.