www.homeseer.com    
 

Go Back   HomeSeer Message Board > 3rd Party Plug-Ins/Scripts > Plug-ins by Author > Click Here for List of Author Forums > MCS Plug-Ins and Scripts > mcsMQTT (3P)

mcsMQTT (3P) Discussion of mcsMQTT plug-in

Reply
 
Thread Tools Display Modes
  #121  
Old February 15th, 2018, 05:16 PM
Steve Q's Avatar
Steve Q Steve Q is offline
OverSeer
 
Join Date: Jun 2005
Location: Michigan
Posts: 3,568
Basic question: Do the Sonoff modules being sold on the web, have to be “flashed” in order to work with your mcsMQTT plugin?

Steve Q
__________________
HomeSeer Version: HS3 Pro Edition 3.0.0.318, Operating System: Microsoft Windows 10 - Home, Number of Devices: 355, Number of Events: 635, Enabled Plug-Ins
2.0.83.0: BLRF, 2.0.10.0: BLUSBUIRT, 3.0.0.75: HSTouch Server, 3.0.0.58: mcsXap, 3.0.0.11: NetCAM, 3.0.0.36: X10, 3.0.1.25: Z-Wave,Alexa,HomeKit
Reply With Quote
  #122  
Old February 15th, 2018, 05:24 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,217
I suspect so. I do not think ITEAD image has MQTT implemented. I am willing to flash for anyone, but shipping cost is involved. There are several YouTube videos on how to do it. They have Over the Air flash ability, but I do not know if the OTA provided by ITEAD is the same protocol as with Tasmota image. All the ones I purchased have all been flashed so I cannot evaluate the OTA of an original image.
Reply With Quote
  #123  
Old February 17th, 2018, 06:55 PM
happnatious1's Avatar
happnatious1 happnatious1 is offline
Seer Master
 
Join Date: Mar 2004
Location: Southern Maryland
Posts: 1,240
3.0.8.0 shows in the updater but can't update weather plug in is enabled or not.

Feb-17 5:52:28 PM Updater Install/Update of package mcsMQTT failed.
Feb-17 5:52:28 PM Updater Error Installation of package mcsMQTT failed. Try disabling the plugin first, then re-try the update.
Feb-17 5:52:28 PM Updater Error Unable to open install.txt file for update \home\william\HomeSeer\Updates3\mcsMQTT3.0.8.0
Feb-17 5:52:28 PM Updater Installing package mcsMQTT
Feb-17 5:52:28 PM Updater Update HSPI_MCSMQTT.exe downloaded successfully
Feb-17 5:52:26 PM Updater Downloading update: mcsMQTT "

once enabled the version isn't right.

Feb-17 5:54:10 PM Starting Plug-In Plugin mcsMQTT started successfully in 27589 milliseconds
Feb-17 5:54:10 PM mcsMQTT MQTT Broker Connection Refused not authorized
Feb-17 5:53:42 PM mcsMQTT Version 3.0.1 Registered with Homeseer
Feb-17 5:53:42 PM Starting Plug-In Initializing plugin mcsMQTT ...
Feb-17 5:53:42 PM Info Plugin mcsMQTT has connected. IP:127.0.0.1:51560
Feb-17 5:53:41 PM Plug-In Finished initializing plug-in mcsMQTT
Reply With Quote
  #124  
Old February 17th, 2018, 08:55 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,217
I talked to Tyler on Friday and got the control file straightened out so that is why .8 shows up now. I also have a dialog with Rich for Linux install. Are you doing Windows or Linux?
Reply With Quote
  #125  
Old February 17th, 2018, 10:29 PM
petez69's Avatar
petez69 petez69 is offline
Seer Master
 
Join Date: Oct 2005
Location: Alice Springs, Australia
Posts: 855
Quote:
Originally Posted by Michael McSharry View Post
I suspect so. I do not think ITEAD image has MQTT implemented. I am willing to flash for anyone, but shipping cost is involved. There are several YouTube videos on how to do it. They have Over the Air flash ability, but I do not know if the OTA provided by ITEAD is the same protocol as with Tasmota image. All the ones I purchased have all been flashed so I cannot evaluate the OTA of an original image.
From everything I've read you will need to install the header pins in the basic unit to flash it. If you would have been able to do it OTA, Tasmota page would have identified it as an option.

ITEAD should licence the Tasmota code, he has done an amazing job, pair it with mcsMQTT and you just cant go wrong..
Reply With Quote
  #126  
Old February 19th, 2018, 03:30 AM
doppiaemme doppiaemme is offline
Seer
 
Join Date: Nov 2014
Location: Como
Posts: 53
Quote:
Originally Posted by petez69 View Post
From everything I've read you will need to install the header pins in the basic unit to flash it. If you would have been able to do it OTA, Tasmota page would have identified it as an option.

ITEAD should licence the Tasmota code, he has done an amazing job, pair it with mcsMQTT and you just cant go wrong..
In theory there is a way, quite new and experimental:
https://github.com/arendst/Sonoff-Ta...hout-compiling

But I didn't manage to try it yet, it seems quite cumbersome. When you know how to do it, re-flashing is easy and some units have already the pins soldered into the boards (like the 4CH)
Reply With Quote
  #127  
Old February 19th, 2018, 08:55 AM
petez69's Avatar
petez69 petez69 is offline
Seer Master
 
Join Date: Oct 2005
Location: Alice Springs, Australia
Posts: 855
Quote:
Originally Posted by doppiaemme View Post
In theory there is a way, quite new and experimental:
https://github.com/arendst/Sonoff-Ta...hout-compiling

But I didn't manage to try it yet, it seems quite cumbersome. When you know how to do it, re-flashing is easy and some units have already the pins soldered into the boards (like the 4CH)
I gotta try it, looks like a blast ! Thanks for sharing
Reply With Quote
  #128  
Old February 19th, 2018, 09:09 AM
happnatious1's Avatar
happnatious1 happnatious1 is offline
Seer Master
 
Join Date: Mar 2004
Location: Southern Maryland
Posts: 1,240
Quote:
Originally Posted by Michael McSharry View Post
I talked to Tyler on Friday and got the control file straightened out so that is why .8 shows up now. I also have a dialog with Rich for Linux install. Are you doing Windows or Linux?
Linux
Reply With Quote
  #129  
Old February 19th, 2018, 08:22 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,217
Quote:
In theory there is a way, quite new and experimental:
https://github.com/arendst/Sonoff-Ta...hout-compiling

But I didn't manage to try it yet, it seems quite cumbersome. When you know how to do it, re-flashing is easy and some units have already the pins soldered into the boards (like the 4CH)
I got a few more of the Sonoff with Amazon lightning special and gave this a try, albeit without success. It started, but never finished. Screenshot attached. SSID FinalStage never showed up. I tried it with both 1.5 and 1.6 (latest) firmware installed. I did it from Raspberry Pi. It never got to the step in the instructions of
Code:
<< {
    "error": 0
}
~~ Provisioning completed
To make the device usable again hold the button for 7+ seconds and it will return to factory default. Should also be able to use usb to program it as well from this point as the OTA does not appear to work

Quote:
Linux
Until Rich gets back with the updater using Linux the only way to install mcsMQTT on Linux is manually. There are very few files to unzip into the HS3 folder.
Attached Images
 
Reply With Quote
  #130  
Old Yesterday, 09:09 PM
Steve Q's Avatar
Steve Q Steve Q is offline
OverSeer
 
Join Date: Jun 2005
Location: Michigan
Posts: 3,568
I received the Sonoff switches I ordered and set them up with the EWeLink app on my iPad. Controlling them with the app is simple and the response time is extremely fast. I then setup some recipes in IFTTT that turn on/off a Sonoff switch triggered by an HS3 device state change.

This approach allows full control of the Sonoff switches via HS3. Although my experience is very limited, the response time is very fast and the reliability seems very good.

I realize this approach relies heavily on the web, but so does most of what is being developed for home automation.

Will MQTT become a more mainstream home automation component?

Steve Q
__________________
HomeSeer Version: HS3 Pro Edition 3.0.0.318, Operating System: Microsoft Windows 10 - Home, Number of Devices: 355, Number of Events: 635, Enabled Plug-Ins
2.0.83.0: BLRF, 2.0.10.0: BLUSBUIRT, 3.0.0.75: HSTouch Server, 3.0.0.58: mcsXap, 3.0.0.11: NetCAM, 3.0.0.36: X10, 3.0.1.25: Z-Wave,Alexa,HomeKit
Reply With Quote
  #131  
Old Yesterday, 11:08 PM
Michael McSharry's Avatar
Michael McSharry Michael McSharry is offline
OverSeer
 
Join Date: Jul 2001
Location: North Bend, WA, USA
Posts: 13,217
What I have seen is MQTT is the dominate communication technology for IOT. Those who have a commercial interest will not participate because they want to control and leverage their own ecosystems. Older HA controllers have much invested in the pre-IOT era technology so now not much incentive. I have read that Domitz has the most installs in Europe. Openhab and Home Assistant come up often. I have no specific experience, but I think these are all open source ala Linux with no specific anchor store in the shopping center. All of these talk MQTT.

LoRaWAN has a lot of momentum to become the connected city means of information sharing. e.g. parking spot sensors so you do not need to drive looking for open parking spaces. It is kind of like cell coverage without the monthly bill. Great for low bandwidth low power communications.

My perspective is that the setup of a HA solution is usually pretty easy with many ways to achieve an objective. The hard part starts when something no longer works as expected. The fewer dependencies will typically yield the best long term result.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERRO Calling SetIOMulti in plugin Arduino Plugin:Object reference not set to an in fvhemert Arduino Plugin (3P) 5 April 28th, 2017 10:15 AM
Nest Plugin Errors - cannot change temperature via plugin TimSRQ Nest Devices (3P) 2 August 15th, 2016 08:48 AM
Upgrade procedure for ACRF plugin from W800 free plugin htsource ACRF Processor (3P) 14 January 26th, 2006 11:21 AM
Switch-to messages, plugin restart, and plugin startup Michael McSharry Plug-In Development 4 January 27th, 2003 11:20 PM


All times are GMT -4. The time now is 11:07 AM.


Copyright HomeSeer Technologies, LLC