Comments (9)
that could be difficult...
In tasmoticz I only see mqtt messages.
I need to detect there are shutters or blinds involved.
-> some RESULT messages contain shutter info. OK, I can create domoticz devices with that and update their state as the positions change. But do I need to distinguish between shutters and blinds? How?
And to activate shutter movements from domoticz, it seems I need a robust relation between POWERx and SHUTTERy and I don't see how I can get that. Or is there another mqtt command to move SHUTTERy without POWERx?
from tasmoticz.
hi, i think to move from domoticz to tasmota could be quite simple:
example:
topic: cmnd/tasmota_blind/shutterposition1
mesage: 67
this will move shutter1 at 67%
cmnd/tasmota_blind/shutterposition3 24
this will move shutter3 at 24%
related to position...tasmota use SHUTTER to define a position...
stat/tasmota_blind/RESULT = {"Shutter1":{"Position":44,"Direction":0,"Target":46},"Shutter2":{"Position":51,"Direction":0,"Target":51},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
i think that you can have a look at position
and/or target
not sure what is the best to avoid a "ping-pong" between tasmota and domoticz.
i mean if i start the moviment from tasmota, domoticz need just to move the slider to update the percentage of dummy device and NOT triggering tasmota for any moviment, otherwise it create a ping-pong message between tasmota and domoticz.
anyhow,i never see used "blind" in logs...
blind
is part of my topic: tasmota_blind
if you want you can have a look here:
https://tasmota.github.io/docs/Blinds-and-Shutters/
here is well documented how it works and at the bottom of the page there are some examples how to integrate it inside homehass, maybe it can inspire you on your script to integration with domoticz? :-)
from tasmoticz.
hi @joba-1 :)
did you get the time to read about my post?
what do you think about suggestion to listen about position and target and publish for shutterposition?
do you think that it could be feasible to implement inside your script to have also blind integration?
if you need any support please ask...unfortunatly not for phyton code (shame on me) , but for tests or whatever you need :)
thanks again!
from tasmoticz.
It looks like doable and not very complicated.
But that is just like color control or combining temperature and humidity. And look how old my issues for those are although I would have a personal benefit from implementing those.
Could be you learning python is faster...
I still want to implement it, just trying to be realistic: better don't hold your breath.
from tasmoticz.
It looks like doable and not very complicated.
But that is just like color control or combining temperature and humidity. And look how old my issues for those are although I would have a personal benefit from implementing those.Could be you learning python is faster...
I still want to implement it, just trying to be realistic: better don't hold your breath.
....hey ciao...sorry but maybe i do not understand properly your answer :-)
you would like to implement and it's just a matter of time?
or
it's quite similar to combine temperature and humudity, where (as i understand) you find some issue and so you are expexting some personal benefit to implement blind?
thanks!
from tasmoticz.
It looks like doable and not very complicated.
But that is just like color control or combining temperature and humidity. And look how old my issues for those are although I would have a personal benefit from implementing those.Could be you learning python is faster...
I still want to implement it, just trying to be realistic: better don't hold your breath.
hey ciao Joba.
i tried to implement inside your script the blind control but it's a disaster for me....
i find too much difficult understand how the code work and how to send command to:
cmnd/tasmota_blind/shutterposition1
instead of POWER
and read POSITION and TARGET
from
stat/tasmota_blind/RESULT = {"Shutter1":{"Position":44,"Direction":0,"Target":46},"Shutter2":{"Position":51,"Direction":0,"Target":51},"Shutter3":{"Position":53,"Direction":0,"Target":53},"Shutter4":{"Position":51,"Direction":0,"Target":51}}
i think that you can have a look at position and/or target
i find something here:
https://indomus.it/guide/integrare-la-gestione-tapparelle-di-tasmota-a-home-assistant-via-mqtt/
that explain how to read from tasmota the value of blind and using inside homeassistant.
do you want to try to implement that inside tasmoticz?
from my side i can support inevery kind of test or whatever you want but modify phyton it's impossible from my side :( sorry for that. and thanks if you would like to try....
from tasmoticz.
Hello.
I have a simple sonoff dual r2 to control a blind. Its easy, one rele to up, one rele to down. And with tasmoticz apears the 2 switches in domoticz (one for up and one for down).
But maybe its posible that apears a devide "blinds inverter percentage" that allow to up and down, and sincronice with the tasmota % of position.
its this posible, or its not in the development plans?
from tasmoticz.
Hello. I have a simple sonoff dual r2 to control a blind. Its easy, one rele to up, one rele to down. And with tasmoticz apears the 2 switches in domoticz (one for up and one for down). But maybe its posible that apears a devide "blinds inverter percentage" that allow to up and down, and sincronice with the tasmota % of position.
its this posible, or its not in the development plans?
You can use mqtt autodiscovery that it's implemented on latest version of domoticz
On tasmota you can activate mqtt autodiscovery with command
Setoption19 1
In domoticz you need to add in hardware page the mqtt autodiscovery and that's it :)
from tasmoticz.
wow, I use the autodiscover for other devices, but for tasmota i allways use the tasmoticz. I will try!
With topic y must configure in autodiscover for tasmota devices?
thanks @megamarco833
from tasmoticz.
Related Issues (20)
- Devices not added
- Capteur UV VEML6070 non reconnu HOT 8
- Domoticz beta (build 13251) randomly crashes on switches tab HOT 7
- errors on new version of tasmota HOT 10
- Device naming in German? HOT 8
- Cant switch on/off a offline device HOT 2
- Athom device incorrectly handled HOT 1
- Better handling of humidity sensors HOT 7
- Domoticz Switch State not updated after switching HOT 8
- Error: Tazmoticz: AttributeError: type object 'Collection' has no attribute 'Mapping' with Python 3.10.4 HOT 5
- Deletion of some devices when used with a damaged Domoticz installation HOT 8
- Support for Tasmota 12.1 and Tasmota Discovery / hatasmota HOT 5
- Error message every 12hrs but everything works HOT 7
- Pb Maj Domoticz 2022.2/2023.1 HOT 14
- More than 255 devices error -> filtering ? HOT 10
- Create device for LWT messages. HOT 4
- Incorrect electricity data being sent to Domoticz. HOT 2
- I am asking for two separate blocks in domoticz HOT 23
- Another malfunction related to the energy indicator. HOT 3
- Tasmota 13.0.0 and PZEM 004 HOT 2
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 tasmoticz.