Closed mFranz82 closed 2 years ago
Maybe take a look at this: https://github.com/luebbe/homie-node-collection? I always subclass my nodes from homie node instead of passing a node around.
Your valve is not different from a relay node. You should be able to use my relay node straight away. At least that's what I'm doing in my valve controlle (with benefits): https://github.com/luebbe/homie-relay-array
Thanks a lot! This is what I need!
On 25. Feb 2022, at 14:02, Lübbe Onken @.***> wrote:
Maybe take a look at this: https://github.com/luebbe/homie-node-collection https://github.com/luebbe/homie-node-collection? I always subclass my nodes from homie node instead of passing a node around.
Your valve is not different from a relay node. You should be able to use my relay node straight away. At least that's what I'm doing in my valve controlle (with benefits): https://github.com/luebbe/homie-relay-array https://github.com/luebbe/homie-relay-array — Reply to this email directly, view it on GitHub https://github.com/homieiot/homie-esp8266/issues/728#issuecomment-1050834436, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATCFF5PV2DIRDETUYXISFNTU454YDANCNFSM5PKBOF7A. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.
Hi!
This is more a question according to custom nodes.
According to this #456 I have another question as well.
I think it is a scope problem but I am not able to fix this.
I have a constructor in a class like this with public variables node and PIN. The constructor works as expected but I lose the reference to the PIN number in the hander function :-(
If someone just posts a keyword for a google search that would be absolutely fine.
docs/
folder or at https://homieiot.github.io/homie-esp8266/) which contains some answsers to the most common problems (notably theLimitations and know issues
andTroubleshooting
pages)examples/
folder of the.zip
of the release you're using. Examples might not be backward-compatibleThanks!