MAGLaboratory / website

0 stars 1 forks source link

haldor status does not retrieve sensor status correctly when sensors are missing #19

Open blu006 opened 3 years ago

blu006 commented 3 years ago

noticed during offline testing with a partial haldor system

haldor status does not retrieve sensor status correctly when sensors are missing

the php does not check the name of the sensors

the sensor query out of SQL retrieves sensors in a known order, but it does not return an unsuccessful query if certain sensors were not found

blu006 commented 3 years ago

a partial solution would be to initialize the database with a known value for each sensor, but addition of other sensors would be problematic