Search found 40 matches

by keiranwyllie
Sat Oct 29, 2016 5:07 am
Forum: EtherTen
Topic: MQTT really slow to subscribe
Replies: 3
Views: 4019

Re: MQTT really slow to subscribe

Looks like I've narrowed it down a little. It seems that if I disconnect the EtherTen running the security sensor shield, then any switching done through Home Assistant (via MQTT broker) occurs straight away. Once I connect the EtherTen back up to my network, I get delays again.
by keiranwyllie
Sat Oct 22, 2016 12:54 am
Forum: EtherTen
Topic: MQTT really slow to subscribe
Replies: 3
Views: 4019

MQTT really slow to subscribe

Hi, I'm using an EtherTen with relay driver shields attached. My sketch sets it up to subscribe to several MQTT topics that are published from another EtherTen with a security sensor shield attached. The published topics from the security sensor are sent immediately to the MQTT broker (which is grea...
by keiranwyllie
Fri Oct 21, 2016 9:55 pm
Forum: SECSENSE: Security Sensor Shield
Topic: MQTT Sensor State Publishing
Replies: 1
Views: 15541

Re: MQTT Sensor State Publishing

You can try adding the following in your loop (adjust your MQTT topic/s as required): if (digitalRead(4) == HIGH) { client.publish("sensor1", "1"); } if (digitalRead(5) == HIGH) { client.publish("sensor2", "1"); } if (digitalRead(6) == HIGH) { client.publish("sensor3", "1"); } if (digitalRead(7) == ...
by keiranwyllie
Mon Oct 17, 2016 10:04 pm
Forum: Project Showcase
Topic: Delving into the realm of home automation with Arduino and Raspberry Pi
Replies: 21
Views: 14388

Re: Delving into the realm of home automation with Arduino and Raspberry Pi

Last few for now. I've recently just added some small voltmeters to the power supply to monitor voltage to the 5V and 12V rails below it.
by keiranwyllie
Mon Oct 17, 2016 9:51 pm
Forum: Project Showcase
Topic: Delving into the realm of home automation with Arduino and Raspberry Pi
Replies: 21
Views: 14388

Re: Delving into the realm of home automation with Arduino and Raspberry Pi

Very slow at the moment but here's some more pictures. I'm now working on using MQTT within my setup. Having never used it before, it's a good learning curve but seems pretty simple (sort of lol).
by keiranwyllie
Thu Sep 29, 2016 7:53 am
Forum: Random Chit-Chat
Topic: Need assistance from the gurus
Replies: 3
Views: 3785

Re: Need assistance from the gurus

Can no one provide any thoughts or input?
by keiranwyllie
Wed Sep 21, 2016 12:10 pm
Forum: Random Chit-Chat
Topic: Need assistance from the gurus
Replies: 3
Views: 3785

Need assistance from the gurus

Hi all, Can someone give me an idea whether I'm on the right path with my circuit. It's an LED tactile switch from Jaycar. My signal line is connected to a digital pin on an EtherTen and I have programmed as an INPUT. When pressed, the signal line goes to 5V. Just after some feedback if possible. I'...
by keiranwyllie
Tue Sep 20, 2016 7:04 am
Forum: EtherTen
Topic: Anyone encountered this problem? Relays randomly activate when turning lights on
Replies: 0
Views: 4772

Anyone encountered this problem? Relays randomly activate when turning lights on

Hi everyone. I'm curious to know whether anyone has run into this occurrence. I am using an EtherTen shield with two 8 channel relay driver shields (freetronics) stacked on top. Each of the driver shields is connected to an 8 channel relay board (driving 16 relays at the moment). I've made some simp...
by keiranwyllie
Sun Sep 11, 2016 10:52 am
Forum: EtherTen
Topic: EtherTen and Relay 8 Shields
Replies: 8
Views: 5361

Re: EtherTen and Relay 8 Shields

Okay, yes, I did the code you've posted above. ( I actually use the same base code for my etherten / relay 8 shield project. ) This is sort of why I am interesting in what you are doing. So, I think I understand what you have done. You can control on/off via the web interface, but you also have 2 r...