{"id":2694,"date":"2022-01-18T14:27:52","date_gmt":"2022-01-18T12:27:52","guid":{"rendered":"http:\/\/jeedom.sigalou-domotique.fr\/?p=2694"},"modified":"2024-04-21T13:06:49","modified_gmt":"2024-04-21T11:06:49","slug":"integration-jeedom-sonoff-spm","status":"publish","type":"post","link":"https:\/\/www.sigalou-domotique.fr\/en\/integration-jeedom-sonoff-spm","title":{"rendered":"Jeedom integration of the Sonoff SPM"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2691\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/20220118_130005-scaled.jpg\" alt=\"\" width=\"477\" height=\"505\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/20220118_130005-scaled.jpg 2415w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/20220118_130005-scaled-600x636.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/20220118_130005-283x300.jpg 283w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/20220118_130005-966x1024.jpg 966w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/20220118_130005-768x814.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/20220118_130005-1449x1536.jpg 1449w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/20220118_130005-1932x2048.jpg 1932w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><\/p>\n<p>Before using the Sonoff SPM, as for all products in the range, it is worth checking the firmware version and updating it. The update is done following the integration into eWelink.<!--more--><\/p>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2714\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-27-28-SONOFF-Smart-Stackable-Power-MeterMain-Unit-and-4-Relay.png\" alt=\"\" width=\"497\" height=\"497\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-27-28-SONOFF-Smart-Stackable-Power-MeterMain-Unit-and-4-Relay.png 867w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-27-28-SONOFF-Smart-Stackable-Power-MeterMain-Unit-and-4-Relay-300x300.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-27-28-SONOFF-Smart-Stackable-Power-MeterMain-Unit-and-4-Relay-100x100.png 100w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-27-28-SONOFF-Smart-Stackable-Power-MeterMain-Unit-and-4-Relay-600x600.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-27-28-SONOFF-Smart-Stackable-Power-MeterMain-Unit-and-4-Relay-150x150.png 150w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-27-28-SONOFF-Smart-Stackable-Power-MeterMain-Unit-and-4-Relay-768x768.png 768w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/h2>\n<h4>Added Sonoff SPM on eWelink<\/h4>\n<ul>\n<li>Installing the eWelink application will update the product.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-292\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/ewelink.png\" alt=\"ewelink\" width=\"86\" height=\"86\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/ewelink.png 180w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/ewelink-100x100.png 100w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/ewelink-150x150.png 150w\" sizes=\"auto, (max-width: 86px) 100vw, 86px\" \/><\/p>\n<ul>\n<li>Connect Lin and Nin to power the module<\/li>\n<li>Let\u2019s start with the<strong>Master Device <\/strong><\/li>\n<li>After switching on, the device enters Bluetooth pairing mode during initial use. The Led Wifi flashes quickly.<\/li>\n<\/ul>\n<div>\n<div>Attention: Without pairing within 3 minutes, the device leaves Bluetooth pairing mode. To return to this, at least press the \u2018con\ufb01guration button\u2019 on the controller (left button) until the WiFi LED flashes quickly.<\/div>\n<div><\/div>\n<\/div>\n<ul>\n<li>In eWelink, press + and then Bluetooth pairing and add the module<\/li>\n<\/ul>\n<p>The Sonoff SPM appears well in the equipment.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2699\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133528_.png\" alt=\"\" width=\"397\" height=\"96\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133528_.png 1056w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133528_-600x145.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133528_-300x72.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133528_-1024x247.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133528_-768x185.png 768w\" sizes=\"auto, (max-width: 397px) 100vw, 397px\" \/><\/p>\n<p>You can go into the configuration of the device to check its version.<\/p>\n<p>Update it if necessary.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2700\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133613_eWeLink.jpg\" alt=\"\" width=\"356\" height=\"244\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133613_eWeLink.jpg 1080w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133613_eWeLink-600x412.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133613_eWeLink-300x206.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133613_eWeLink-1024x703.jpg 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-133613_eWeLink-768x527.jpg 768w\" sizes=\"auto, (max-width: 356px) 100vw, 356px\" \/><\/p>\n<p>Consider raising the identification number needed for Jeedom integration<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2768\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220119-083829_eWeLink.jpg\" alt=\"\" width=\"414\" height=\"874\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220119-083829_eWeLink.jpg 1080w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220119-083829_eWeLink-600x1267.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220119-083829_eWeLink-142x300.jpg 142w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220119-083829_eWeLink-485x1024.jpg 485w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220119-083829_eWeLink-768x1621.jpg 768w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220119-083829_eWeLink-728x1536.jpg 728w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220119-083829_eWeLink-970x2048.jpg 970w\" sizes=\"auto, (max-width: 414px) 100vw, 414px\" \/><\/p>\n<p>We move on to the integration of the <strong>additional module<\/strong><\/p>\n<ul>\n<li>In eWelink, press + and then Bluetooth pairing and press the Master module button, detection is automatic.<\/li>\n<\/ul>\n<p>In eWelink, we find ourselves with both equipment:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2718\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-193757_.png\" alt=\"\" width=\"364\" height=\"168\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-193757_.png 1059w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-193757_-600x277.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-193757_-300x139.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-193757_-1024x473.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot_20220118-193757_-768x355.png 768w\" sizes=\"auto, (max-width: 364px) 100vw, 364px\" \/><\/p>\n<p>We can even change their name.<\/p>\n<h4>Integration of the Sonoff SPM on the local network and switching to DIY mode<\/h4>\n<p>It is now necessary to switch the Sonoff SPM to DIY mode and on the Wifi network. For the record, this mode loses the cloud link and becomes independent, on the lan network (via wifi), it is an excellent thing.<\/p>\n<p>Connecting the SPM to the ethernet network (with a cable) is essential for DIY configuration. Here is the connection scheme given to the developers, the network cable must be plugged in in any case for configuration.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2720\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/developer-p.png\" alt=\"\" width=\"724\" height=\"326\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/developer-p.png 1016w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/developer-p-600x270.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/developer-p-300x135.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/developer-p-768x345.png 768w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<p>To do this go on the router look for its IP on the list of DHCP<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2701\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-13-50-34-Synology-Router-SynologyRouter.png\" alt=\"\" width=\"916\" height=\"37\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-13-50-34-Synology-Router-SynologyRouter.png 916w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-13-50-34-Synology-Router-SynologyRouter-600x24.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-13-50-34-Synology-Router-SynologyRouter-300x12.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-13-50-34-Synology-Router-SynologyRouter-768x31.png 768w\" sizes=\"auto, (max-width: 916px) 100vw, 916px\" \/><\/p>\n<p>Then you have to press the button so that the LED Signal starts flashing, go to a browser and enter the ip in the url (be careful the page is huge if you are in full screen, if you are doing it from a computer, you have to decrease the window)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2702\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/spm1.png\" alt=\"\" width=\"284\" height=\"363\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/spm1.png 522w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/spm1-234x300.png 234w\" sizes=\"auto, (max-width: 284px) 100vw, 284px\" \/><\/p>\n<p>Fill out the form<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2703\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/spm2.png\" alt=\"\" width=\"287\" height=\"367\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/spm2.png 522w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/spm2-234x300.png 234w\" sizes=\"auto, (max-width: 287px) 100vw, 287px\" \/><\/p>\n<p>Connection is accepted<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2704\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/spm3.png\" alt=\"\" width=\"290\" height=\"371\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/spm3.png 522w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/spm3-234x300.png 234w\" sizes=\"auto, (max-width: 290px) 100vw, 290px\" \/><\/p>\n<p>The SPM will therefore have IP address, Wi-Fi connection and ethernet connection<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2705\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-04-39-Synology-Router-SynologyRouter.png\" alt=\"\" width=\"911\" height=\"52\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-04-39-Synology-Router-SynologyRouter.png 911w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-04-39-Synology-Router-SynologyRouter-600x34.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-04-39-Synology-Router-SynologyRouter-300x17.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-04-39-Synology-Router-SynologyRouter-768x44.png 768w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/p>\n<p>It\u2019s over, the Sonoff SPM switches to DIY mode and relaunches, it immediately connects to Wifi.<\/p>\n<p>I like to group the Sonoffs together and so I switch them to a static address. <strong>192.168.1.223<\/strong> and become SPM for testing.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2706\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-10-37-Synology-Router-SynologyRouter.png\" alt=\"\" width=\"757\" height=\"245\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-10-37-Synology-Router-SynologyRouter.png 757w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-10-37-Synology-Router-SynologyRouter-600x194.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-18-at-14-10-37-Synology-Router-SynologyRouter-300x97.png 300w\" sizes=\"auto, (max-width: 757px) 100vw, 757px\" \/><\/p>\n<h3>Adding the Sonoff SPM in Jeedom via the <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/plugin-sonoff-diy-documentation\">Sonoff-DIY plugin<\/a><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2771\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-34-52-Sonoffdiy-Jeedom.png\" alt=\"\" width=\"1193\" height=\"505\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-34-52-Sonoffdiy-Jeedom.png 1193w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-34-52-Sonoffdiy-Jeedom-600x254.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-34-52-Sonoffdiy-Jeedom-300x127.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-34-52-Sonoffdiy-Jeedom-1024x433.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-34-52-Sonoffdiy-Jeedom-768x325.png 768w\" sizes=\"auto, (max-width: 1193px) 100vw, 1193px\" \/><\/p>\n<p>There is not much to do, it is the <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/plugin-sonoff-diy-documentation\">plugin<\/a> who does all the work, it is necessary to give him what he cannot guess, it is the IP address of the module and the ID (see integration paragraph above).<br \/>\nThen, it is enough to operate the relay.<\/p>\n<p>So it is good, the <a href=\"http:\/\/jeedom.sigalou-domotique.fr\/plugin-sonoff-diy-documentation\">plugin<\/a> has made the connection between the SPM device, its IP and its Identifier which is mandatory to order it on the local network.<\/p>\n<p>The user has nothing to do, the plugin writes down the Slave ID on the device card and saves it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2772\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-36-37-Sonoffdiy-Jeedom.png\" alt=\"\" width=\"465\" height=\"113\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-36-37-Sonoffdiy-Jeedom.png 465w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-36-37-Sonoffdiy-Jeedom-300x73.png 300w\" sizes=\"auto, (max-width: 465px) 100vw, 465px\" \/><\/p>\n<p>As the Sonoff SPM model has been chosen, the commands are automatically added<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2773\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-38-07-Sonoffdiy-Jeedom.png\" alt=\"\" width=\"796\" height=\"342\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-38-07-Sonoffdiy-Jeedom.png 796w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-38-07-Sonoffdiy-Jeedom-600x258.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-38-07-Sonoffdiy-Jeedom-300x129.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-38-07-Sonoffdiy-Jeedom-768x330.png 768w\" sizes=\"auto, (max-width: 796px) 100vw, 796px\" \/><\/p>\n<p>As soon as we launch a \u2018Refresh\u2019, the plugin will retrieve the module\u2019s config<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2774\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-39-07-Sonoffdiy-Jeedom.png\" alt=\"\" width=\"467\" height=\"413\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-39-07-Sonoffdiy-Jeedom.png 467w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/Screenshot-2022-01-22-at-10-39-07-Sonoffdiy-Jeedom-300x265.png 300w\" sizes=\"auto, (max-width: 467px) 100vw, 467px\" \/><\/p>\n<p>Obviously on the DashBoard, the tile of the device is generated, everyone will be able to customize it<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2770\" src=\"http:\/\/jeedom.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/SPM.gif\" alt=\"\" width=\"238\" height=\"203\" \/><\/p>\n<h3>Edited on 29\/01\/2023, Update Firmware 1.2.0<\/h3>\n<p>Since my purchase and the writing of this page, the Firmware has evolved to version 1.2.0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3468\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/current.jpg\" alt=\"\" width=\"1068\" height=\"212\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/current.jpg 1068w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/current-600x119.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/current-300x60.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/current-1024x203.jpg 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/current-768x152.jpg 768w\" sizes=\"auto, (max-width: 1068px) 100vw, 1068px\" \/><\/p>\n<p>As a reminder in its initial version (1.0.0), you could not set the start position, it was a huge concern that I had reported to Sonoff support who had promised me an update acknowledging the forgetfulness. The 4 relays started at OFF which was not possible!! The electricity grid could not be lost at the slightest power cut. Since that has been corrected, it is very good. You should still think about configuring it to ON on the 4 relays (in eWelink, it is the simplest, the parameter is kept in DIY).<\/p>\n<p>I switched the Sonoff SPM to eWelink , mode, which has been possible since the last version of the plugin. The following box must be ticked:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3473\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/ewelink-1.png\" alt=\"\" width=\"594\" height=\"35\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/ewelink-1.png 594w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2019\/12\/ewelink-1-300x18.png 300w\" sizes=\"auto, (max-width: 594px) 100vw, 594px\" \/><\/p>\n<p>This will generate a new command in the list of commands, just launch it (with the test button for example.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3477\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/ewelink2.png\" alt=\"\" width=\"1337\" height=\"63\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/ewelink2.png 1337w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/ewelink2-600x28.png 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/ewelink2-300x14.png 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/ewelink2-1024x48.png 1024w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/ewelink2-768x36.png 768w\" sizes=\"auto, (max-width: 1337px) 100vw, 1337px\" \/><\/p>\n<p>The SPM switches back to eWelink mode, it can be paired in bluetooth from the eWelink application.<\/p>\n<p>Think about unchecking the box \"Enable the return command to eWelink\" by security.<\/p>\n<p>Once on eWelink, we update and then switch to local network + DIY mode (as explained at the beginning of this page).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3469\" src=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/majok.jpg\" alt=\"\" width=\"825\" height=\"195\" srcset=\"https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/majok.jpg 825w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/majok-600x142.jpg 600w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/majok-300x71.jpg 300w, https:\/\/www.sigalou-domotique.fr\/wp-content\/uploads\/2022\/01\/majok-768x182.jpg 768w\" sizes=\"auto, (max-width: 825px) 100vw, 825px\" \/><\/p>\n<h4>Other pages on the Sonoff SPM<\/h4>\n<ul>\n<li><a href=\"http:\/\/jeedom.sigalou-domotique.fr\/presentation-du-sonoff-spm\">Presentation of the Sonoff SPM<\/a><\/li>\n<li><a href=\"http:\/\/jeedom.sigalou-domotique.fr\/plugin-sonoff-diy-documentation\">Sonoff-DIY Plugin<\/a><\/li>\n<\/ul>\n<h4>References<\/h4>\n<ul>\n<li><a href=\"https:\/\/sonoff.tech\/product-review\/product-insight\/get-started-quicklynow-you-can-control-spm-units-via-http-api\/\" target=\"_blank\" rel=\"noopener\">Tuto Sonoff (English)\u00a0<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Before using the Sonoff SPM, as for all products in the range, it is worth checking the firmware version and updating it. The update is done following the integration into eWelink.<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[14,23],"tags":[],"class_list":["post-2694","post","type-post","status-publish","format-standard","hentry","category-domotique","category-jeedom-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/2694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/comments?post=2694"}],"version-history":[{"count":0,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/posts\/2694\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/media?parent=2694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/categories?post=2694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigalou-domotique.fr\/en\/wp-json\/wp\/v2\/tags?post=2694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}