MMM-Alexaonoff can’t find devices


  • Project Sponsor

    Requested network interface wlan0 not found!
    21900
    21901
    21902
    21903
    21904
    21905
    21906
    21907
    21908
    21909
    21910
    21911
    21912
    21913
    21914
    21915
    FauxMo service started. Listening on 127.0.0.1:21900-21915
    

    Alexa can’t find any devices

    {
                module: 'MMM-AlexaOnOff',
                config: {
                netProtocol: "IPv4",
                netInterface: "wlan0",  
                devices: [         { 
                              name: "Alarmmodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_1_alert" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_1_alert" }
                                   },
                                   },
                                   {
                              name: "Updatemodul",
                              on:  { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_0_updatenotification" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_0_updatenotification" }
                                   },
                                   },
                                   {
                              name: "Uhrmodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_2_clock" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_2_clock" }
                                   },
                                   },
                                   {
                              name: "Kalendermodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_3_calendar" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_3_calendar" }
                                   },
                                   },
                                   {
                              name: "Komplimentemodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_4_compliments" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_4_compliments" }
                                   },
                                   },
                                   {
                              name: "Wettermodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_6_currentweather" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_6_currentweather" }
                                   },
                                   },
                                   {
                              name: "Wettervorhersagemodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_7_weatherforecast" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_7_weatherforecast" }
                                   },
                                   },
                                   {
                              name: "Fotomodul",
                                   on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_8_MMM-ImagesPhotos" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_8_MMM-ImagesPhotos" }
                                   },
                                   },
                                   {
                              name: "Fußballmodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_9_MMM-SoccerLiveScore" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_9_MMM-SoccerLiveScore" }
                                   },
                                   },
                                   {
                              name: "Mondmodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_10_MMM-Lunartic" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_10_MMM-Lunartic" }
                                   },
                                   },
                                   {
                              name: "Netzwerkmodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_12_MMM-NetworkConnection" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_12_MMM-NetworkConnection" }
                                   },
                                   },
                                   {
                              name: "Nachrichtenmodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_13_newsfeed" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_13_newsfeed" }
                                   },
                                   },
                                   {
                              name: "Schneemodul",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHOW", module: "module_11_MMM-Snow" }
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "HIDE", module: "module_11_MMM-Snow" }
                                   },
                                   },
                                   {
                              name: "Spiegel Neustart",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "REBOOT"}
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "REBOOT"}
                                   },
                                   },
                                   {
                              name: "Spiegel Runterfahren",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHUTDOWN"}
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "SHUTDOWN"}
                                   },
                                   },
                                   {
                              name: "Monitor",
                               on: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "MONITORON"}
                                   },
                              off: { 
                                   notification: "REMOTE_ACTION",
                                   payload: { action: "MONITOROFF"}
                                   },
                      }   ]
                }
          },
    

  • Project Sponsor

    Can anybody help me ?



  • @Stoffbeuteluwe u need to specify the network adapter interface name in the module config section…
    see the module readme…

    ifconfig 
    

    will list all the network interfaces on your system, select the one with an assigned ip address
    here is from my pi

    eth0: flags=4099  mtu 1500    // < --- no ip address here
            ether b8:27:eb:ee:23:81  txqueuelen 1000  (Ethernet)
            RX packets 0  bytes 0 (0.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73  mtu 65536   // < this is the loopback adapter (127.0.01/localhost)
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 5153998  bytes 99881551583 (93.0 GiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 5153998  bytes 99881551583 (93.0 GiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    wlan0: flags=4163  mtu 1500
            inet 192.168.2.35  netmask 255.255.255.0  broadcast 192.168.2.255   // < -- this is the one
            inet6 fe80::7983:5fdf:71b7:86  prefixlen 64  scopeid 0x20
            ether b8:27:eb:bb:76:d4  txqueuelen 1000  (Ethernet)
            RX packets 70945054  bytes 520903477 (496.7 MiB)
            RX errors 0  dropped 233688  overruns 0  frame 0
            TX packets 35358956  bytes 3262063548 (3.0 GiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    

  • Project Sponsor

    @sdetweil thanks sam i will try tonight


  • Project Sponsor

    @sdetweil Hey Sam …congratulations you solved my biggest Problem on my mirror, now it works and all devices where found. Thanks thanks …you are the greatest 🙏 🙂



  • @Stoffbeuteluwe cool. Glad to hear it


  • Project Sponsor

    @sdetweil hi Sam can I ask you again ? 😀
    my echo stopped working so I had to reset and now my devices are gone…
    this is the same problem again but this time… put my ip adress into the MMM AlexaOnOff node.js helper does not work

    Requested network interface wlan0 not found!
    21900
    21901
    21902
    21903
    21904
    21905
    21906
    21907
    21908
    21909
    21910
    21911
    21912
    21913
    21914
    21915
    21916
    21917
    21918
    21919
    21920
    21921
    21922
    21923
    21924
    21925
    21926
    21927
    21928
    21929
    21930
    21931
    21932
    21933
    21934
    21935
    21936
    21937
    21938
    21939
    21940
    FauxMo service started. Listening on 127.0.0.1:21900-21940
    


  • @Stoffbeuteluwe said in MMM-Alexaonoff can’t find devices:

    network interface wlan0 not found

    so, the network adapter name is wrong now

    sudo ifconfig
    to find the network adapter , then fix the MM config


  • Project Sponsor

    seems everything looks good but no devices can be found??

    SONOS_UPDATE
    21900
    21901
    21902
    21903
    21904
    21905
    21906
    21907
    21908
    21909
    21910
    21911
    21912
    21913
    21914
    21915
    21916
    21917
    21918
    21919
    21920
    21921
    21922
    21923
    21924
    21925
    21926
    21927
    21928
    21929
    21930
    21931
    21932
    21933
    21934
    21935
    21936
    21937
    21938
    21939
    21940
    21941
    FauxMo service started. Listening on 192.168.178.33:21900-21941
    
    

    anybody an idea?



  • @Stoffbeuteluwe can u show the output of ifconfig?