Search found 30 matches

by perjarle
Sun Mar 25, 2018 9:40 am
Forum: Hardware
Topic: Sonoff - WiFi Wireless Smart Switch For MQTT
Replies: 20
Views: 6204

Re: Sonoff - WiFi Wireless Smart Switch For MQTT

Hi
Great work on the mqtt functionality.

It works great, and the MQTTLamp is updated if it receives on or off messages from other sources in the same topic.

I think this can be the new workhorse for mqtt driven DIY projects
by perjarle
Sat Mar 24, 2018 10:31 am
Forum: Hardware
Topic: Sonoff - WiFi Wireless Smart Switch For MQTT
Replies: 20
Views: 6204

Re: Sonoff - WiFi Wireless Smart Switch For MQTT

Hi I have been testing MQTTLamp a bit more. It works excellent for one way communication. It sends out mitt messages when turning on and off. The one thing I miss is that it will update it's status if on- and off-messages are sent from other sources. I have made a mitt receiver for my garage door us...
by perjarle
Sun Mar 18, 2018 7:36 pm
Forum: Hardware
Topic: Sonoff - WiFi Wireless Smart Switch For MQTT
Replies: 20
Views: 6204

Re: Sonoff - WiFi Wireless Smart Switch For MQTT

Hi
I have tested the MQTT lamp, and it works fine sending out messages.

But in addition to sending out messages, it needs to subscribe to the same topic. If not it will not update it's status when the messages come from other sources.

Same functionality as Nexa which listen for events
by perjarle
Sat Mar 10, 2018 9:31 am
Forum: Installation
Topic: Upgrade from 3.0 to Nightly Build
Replies: 3
Views: 888

Upgrade from 3.0 to Nightly Build

Hi
I have the 3.0 installed on rpi.
What is the easiest way to upgrade it to nightly build?

Can I just download the nightly build and run the install script, or will that overwrite my configuration?

/PJ
by perjarle
Mon Feb 26, 2018 10:23 am
Forum: Hardware
Topic: Sonoff - WiFi Wireless Smart Switch For MQTT
Replies: 20
Views: 6204

Re: Sonoff - WiFi Wireless Smart Switch For MQTT

I think your suggestion about MQTTMessage and MQTTTopicController sounds reasonable as it follows the same pattern as the SMPP logic

And yes, i think they should share the topic.
by perjarle
Sun Feb 25, 2018 8:21 am
Forum: Hardware
Topic: Sonoff - WiFi Wireless Smart Switch For MQTT
Replies: 20
Views: 6204

Re: Sonoff - WiFi Wireless Smart Switch For MQTT

Thank you for replying

I think the best solution would be a MqttButton.
Preferably with more than 2 available actions to make it more universal.

If it also can be controlled by external command such as Jabber it would be awesome

Best regards
PJ
by perjarle
Wed Feb 21, 2018 9:08 am
Forum: Software
Topic: Advice needed - Need to control external device
Replies: 2
Views: 368

Re: Advice needed - Need to control external device

Thank you
I was looking at the Custom Lamp, but i didn't find a way to specify the command. Now I see that it is possible to set it after saving

This is valuable information :)

-PJ
by perjarle
Wed Feb 21, 2018 8:56 am
Forum: Software
Topic: Message - How to use it?
Replies: 3
Views: 484

Re: Message - How to use it?

Thank you for replying

I basically needs to trigger it from a lamp item, but also plan to be able to trigger with jabber message in the future.

So if i set up a MQTTValueLogger with the lamp it will send out messages?
Sounds great, and i will try it

Thank you for the help :)

-PJ
by perjarle
Tue Feb 20, 2018 10:36 pm
Forum: Software
Topic: Advice needed - Need to control external device
Replies: 2
Views: 368

Advice needed - Need to control external device

Hi I need some advice. I am building a garage door opener based on ESP8266 module with wifi. The device is not finished yet, but i have started building it. It has a magnet sensor for checking if the garage door is open or not. It sends mqtt messages indicating open or closed. These messages are rec...
by perjarle
Tue Feb 20, 2018 2:47 pm
Forum: Hardware
Topic: Sonoff - WiFi Wireless Smart Switch For MQTT
Replies: 20
Views: 6204

Re: Sonoff - WiFi Wireless Smart Switch For MQTT

To use Sonoff switches with nethome, you need: - MQTT broker - Sonoff switch programmed with custom software to communicate with MQTT broker MQTT broker is a server program which delivers messages between clients (in our case nethome and Sonoff switch are both clients) Clients can publish and subsc...