Comments (9)
Hi @danieldotnl
Let me look into that, a colleague of mine also started using it and was wondering the same. In all fairness and honesty, I used a different setup earlier so I didn't have to relearn.
What you could try though is unplug/replug the unit itself and immediately send a command - that used to work on the older devices.
I'll look into it the coming days!
from esphome_c1101.
Wow, thanks for your incredibly fast reply :)
I just found out that the sensors (fan speed and timer) do receive updates when I just my itho remotes! So the cc1101 seems to be working.
I did try what you suggested (to unplug/replug) but I will try it again.
from esphome_c1101.
from esphome_c1101.
Yes, but in the espeasy solution, one needs to send a join command during this period: https://docs.google.com/document/d/e/2PACX-1vRoO1TfkUKkyQlgzsmm7XzI3xyUXMBMrqwF6NJXVwQmykP6gMtsJWp-x2vYiHDEwyScqhsPkJHGGYs-/pub (you can read Dutch, right?)
from esphome_c1101.
I see (and yes, native Dutch) :)
I think if you add (c1101.h
at line 150) another chunk like below it should work. The library (https://github.com/supersjimmie/IthoEcoFanRFT/blob/master/Master/Itho/IthoPacket.h) has the packets defined so it should work.
class FanSendIthoJoin : public Component, public Switch {
public:
void write_state(bool state) override {
if ( state ) {
rf.sendCommand(IthoJoin);
State = "Join";
Timer = 0;
publish_state(!state);
}
}
};
And an accompanying (itho.yaml
at line 43)
- platform: custom
lambda: |-
auto fansendjoin = new FanSendJoin();
App.register_component(fansendjoin);
return {fansendjoin};
switches:
name: "FanSendJoin"
from esphome_c1101.
Tom, it works!! It's a amazing, I owe you a big beer! :)
Note that there was a small error in the yaml you mentioned above, this:
auto fansendjoin = new FanSendJoin();
should be:
auto fansendjoin = new FanSendIthoJoin();
Off-topic:
I don't know esphome very well, but can't we make a service out of this in HA, instead of all the switches? I guess that would be more appropriate, especially since the switches immediately switch off once the command has been sent.
from esphome_c1101.
from esphome_c1101.
Applied fix, tnx (and notice to @tomduijf to try this as well :))
from esphome_c1101.
As per the comments on https://community.home-assistant.io/t/itho-daalderop-fan-rf-remote-with-c1101-and-esp8266/38710/17 please have a look at the updated code (including timers and HA fan example)
from esphome_c1101.
Related Issues (10)
- compile issues. what do I wrong? HOT 5
- feature request: report source of last operation HOT 3
- timing countdown HOT 1
- Pinout on Wemos D1 Mini is different
- Fan templating broken HOT 5
- How add ITHO remotes HOT 8
- Compiling error HOT 6
- ESP seems to work but fan does not react to commands HOT 4
- Updating speed not working HOT 9
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 esphome_c1101.