You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Requires at least 4G RAM, preferably 8G. Developed and tested on 8G, known not to work on 1G. RAM requirement driven almost entirely by ActiveMQ.
14
14
15
+
- Bring a sandwich to this process. After you flash a micro-SD card and start it up, it can take 20+ minutes for the device to connect and update via Balena.
16
+
15
17
- This is literally an alpha-release. The underlying code has been in production for months, but the deployment to a Balena public fleet is brand new and has required a number of modifications.
Copy file name to clipboardExpand all lines: server/src/api/models/module.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -191,7 +191,7 @@ async function createDefaultSetOfModules( body ) {
191
191
asyncfunctiongetAllModulesByCabinet(stationid){
192
192
log.info("getAllModulesByCabinet "+stationid)
193
193
returnnewPromise(function(resolve,reject){
194
-
letssql="select i2caddress, container_name, devicetypename, module_type, deviceid, moduleid, protocol from station c join device d on d.stationid_Station = stationid join devicetype t on d.devicetypeid_devicetype=t.devicetypeid join module m on m.deviceid_device = d.deviceid where c.stationid =$1"
194
+
letssql="select lastseen, d.lastseen_millis, i2caddress, container_name, devicetypename, module_type, deviceid, moduleid, protocol from station c join device d on d.stationid_Station = stationid join devicetype t on d.devicetypeid_devicetype=t.devicetypeid join module m on m.deviceid_device = d.deviceid where c.stationid =$1"
0 commit comments