Read the statement by Michael Teeuw here.
Netatmo module will not shown
-
@kusselin
Sorry I‘m out here because I do not have any experience with proxmox containers.But in general, what Sam means is that your last log-output indicates that you had tried to start a seond instance of MagicMirror -which fails.
So I guess it is necessary to identify the primary instance and look for logs there .
What I have seen in addition but cannot justify: Your above output looks like you‘re working with root permission.root@magicmirror-live:/opt/magicmirror# npm run server
As far as I remember correctly, this may causes difficulties as well - at least I remember to read something like this - context was different and it‘s possible that this doesn‘t apply to container-environments …
Good luck!
Regards,
Ralf -
@kusselin no, just have to restart the container…
I am installing proxmox on a vmware VM now,
-
@kusselin so with the script I get a container starting to be built, but it has no network
I see it in the list, can start/stop. but no network.this is proxmox in a VM, not native on the hardware…
I did get a vmware warning that proxmox was trying to set promiscuous mode, but that is not allowed
-
@rkorell said in Netatmo module will not shown:
@kusselin
Sorry I‘m out here because I do not have any experience with proxmox containers.But in general, what Sam means is that your last log-output indicates that you had tried to start a seond instance of MagicMirror -which fails.
So I guess it is necessary to identify the primary instance and look for logs there .
What I have seen in addition but cannot justify: Your above output looks like you‘re working with root permission.root@magicmirror-live:/opt/magicmirror# npm run server
As far as I remember correctly, this may causes difficulties as well - at least I remember to read something like this - context was different and it‘s possible that this doesn‘t apply to container-environments …
Good luck!
Regards,
RalfOne question: Do you have Netatmo installed and running at home as hardware and searching in MM…?
-
@sdetweil said in Netatmo module will not shown:
@kusselin so with the script I get a container starting to be built, but it has no network
I see it in the list, can start/stop. but no network.this is proxmox in a VM, not native on the hardware…
I did get a vmware warning that proxmox was trying to set promiscuous mode, but that is not allowed
Ok du hast dir die mühe gemacht einen proxmox container zu installieren und den MM dort zu installieren…danke erstmal für das machen und testen…
Heisst im Container läuft der NM nicht so wie er auf einem Raspberry läuft…richtig?
Heisdt am besten man installiert den MM auf einem Raspi, dann hat man nicht den Ärger…richtig?
Ich kann halt nicht verdtehen das hier keiner im Forum ist der auch netatmo als Modul installiert hat :-(
Englisch:
Ok you made the effort to install a proxmox container and install the MM there…thanks for doing and testing…That means the NM does not run in the container the way it runs on a raspberry…right?
It’s best to install the MM on a Raspi, then you don’t have the trouble…right?
I just can’t understand that there is no one here in the forum who has also installed netatmo as a module :-(
What do you mean by “no network”?
I have a connection and other modules are displayed correctly, so I don’t understand this
-
@kusselin said
One question: Do you have Netatmo installed and running at home as hardware and searching in MM…?
Nope, Netatmo not used by me …
Regards,
Ralf -
@kusselin no network
the script says there is no network card for the container so it cannot talk to anything
from the script output see <---- below__ ___ _ __ ____ / |/ /___ _____ _(_)____/ |/ (_)_____________ _____ / /|_/ / __ `/ __ `/ / ___/ /|_/ / / ___/ ___/ __ \/ ___/ / / / / /_/ / /_/ / / /__/ / / / / / / / / /_/ / / /_/ /_/\__,_/\__, /_/\___/_/ /_/_/_/ /_/ \____/_/ /____/ 🧩 Using Advanced Settings on node pve 🖥️ Operating System: debian 🌟 Version: 12 📦 Container Type: Unprivileged 🔐 Root Password: ******** 🆔 Container ID: 101 🏠 Hostname: magicmirror 💾 Disk Size: 3 GB 🧠 CPU Cores: 1 🛠️ RAM Size: 512 MiB 🌉 Bridge: vmbr0 📡 IP Address: dhcp 🌐 Gateway IP Address: Default 📡 APT-Cacher IP Address: Default 🚫 Disable IPv6: yes ⚙️ Interface MTU Size: Default 🔍 DNS Search Domain: Host 📡 DNS Server IP Address: Host 🏷️ Vlan: Default 📡 Tags: community-script;magicmirror 🔑 Root SSH Access: yes Warning: No SSH key provided. 🔍 Verbose Mode: yes 🚀 Creating a MagicMirror LXC using the above advanced settings ✔️ Using local for Template Storage. ✔️ Using local-lvm for Container Storage. ✔️ Updated LXC Template List ✔️ LXC Template is ready to use. ✔️ LXC Container 101 was successfully created. ✔️ Started LXC Container net.ipv6.conf.all.disable_ipv6 = 1 ⠇ ✖️ No Network! ner OS <---- ✖️ No Network After 10 Tries <--- 📡 Check Network Settings /dev/fd/63: line 72: SPINNER_PID: unbound variable
-
@kusselin problem here was disk and memory too small… 10g disk and 2048g memory and install finished…
-
@kusselin so I had to use the mockdata: true option as I don’t have any server for this
I set the clientid… to garbage numbers . module fails if not set
and mockdata: true and after a while I see this on the lxc container MM instance
(MMM-Config generated config entry){ module: "netatmo", position: "bottom_left", order: "*", animateIn: "None", animateOut: "None", config: { clientId: '1234567', // your app id clientSecret: '1212123', // your app secret refresh_token: '3223232', // your generated refresh token mockData: true }, disabled: false, hiddenOnStartup: false, configDeepMerge: false },
the system service is setup without logging, so the MM app logging is lost…
for me lxc container looks and acts like a Virtual machine, (restricted to OS structure proxmox is running on)
-
@sdetweil
Hello sam, first of all thank you for your support and your testing!Then why create MM for Proxmox? If it can’t find a network?
But in your screenshot I see Netatmo, it is displayed, or are you missing the values?
What does your testing and your statements tell me as a layman from MM?
Can I now not use Netatmo in the LXC container with Proxmox?
Other modules such as calender, clock public transfer hafas and RNV work perfectly.Thank you for any clarification so that I can understand it.
EDIT:
Hello Sam, if I use your config posted here and copy it in exactly the same way, netatmo is displayed but only with Hamburg and not my station…but it works…
I have used my code stored in the developer account as ID and secret key.
Shouldn’t MM then also show my location?
as soon as I set “MockData” to false, netatmo is no longer displayed…so you can say that the module itself works but not with the real data…think it’s the secret token…I read something here on the board
look:
https://forum.magicmirror.builders/topic/18690/mmm-netatmothermostat/2