Project

General

Profile

Actions

Feature #1195

open

Port pwrctrl to use new API

Added by Hammel 1 day ago. Updated 1 day ago.

Status:
In Progress
Priority:
Immediate
Assignee:
Category:
-
Target version:
Start date:
01 Apr 2025
Due date:
% Done:

70%

Estimated time:
Severity:
01 - Critical

Description

The imrest API changed a little when it was ported from nodejs to mongoose.
Update the pwrctrl and pwremote sensors to use the updated API.


Related issues

Related to Iron Man - Feature #1080: Sensors: 1 port power switchNewHammel16 Nov 2023

Actions
Blocked by Sensors - Feature #1200: Have imrest check for gpio state to allow registrationsNewHammel01 Apr 2025

Actions
Actions #1

Updated by Hammel 1 day ago

  • Project changed from Iron Man to Sensors
  • Category deleted (Sensors)
Actions #2

Updated by Hammel 1 day ago

  • Target version changed from Maker Faire to 3.0 - Corrino
Actions #3

Updated by Hammel 1 day ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 70

This may not be necessary. I think the reason the pairing failed was that imrest couldn't find the pairEnabledStamp file. But porting imrest to read the GPIO lines itself would fix that.

Retest this after RM #1200 is done.

Actions #4

Updated by Hammel 1 day ago

  • Blocked by Feature #1200: Have imrest check for gpio state to allow registrations added
Actions #5

Updated by Hammel 1 day ago

Actions

Also available in: Atom PDF