I think I have been able to solve it by forcing it to connect to the network I want, adding the command M552 S1 "My network".
Before I only had the M552 S1 command, without the network.
Thanks for your time and help. I hope this can help others who have the same problem.
Best posts made by amimafe
-
RE: DUET2 does not connect
-
RE: Record printing temperature and humidity
Gracias por tu ayuda. Me diste una pista de cual era el fallo y finalmente lo he podido solucionar. Era un error al indicar el número de sensor que quería.
Revisé el archivo config.g y lo configuré correctamente.Declaración de los sensores en config.g:
;DHT Sensor on Temperature Daughterboard SPI CS1 pin M308 S10 P"0.spi.cs1" Y"dht22" A"Temperatura" ; define DHT22 temperature sensor M308 S11 P"S10.1" Y"dht-humidity" A"Humedad [%]" ; Attach DHT22 humidity sensor to secondary output of temperature sensor
daemon.g:
if !exists(global.logTemps) global logTemps = false while global.logTemps ==true && job.file.fileName != null echo >>{"0:/sys/templog/templog.csv"} {sensors.analog[10].lastReading}^","^{sensors.analog[11].lastReading} G4 S30