made the react components to display the card for scanned components
This commit is contained in:
parent
f5bc230fb6
commit
751b39d345
14 changed files with 311 additions and 26 deletions
|
|
@ -12,7 +12,7 @@ export const I2C: AddressTypeExtension = {
|
|||
[quack.ComponentType.COMPONENT_TYPE_STEPPER_MOTOR, 0x13],
|
||||
[quack.ComponentType.COMPONENT_TYPE_PH, 0x3f],
|
||||
[quack.ComponentType.COMPONENT_TYPE_DHT, 0x3f],
|
||||
[quack.ComponentType.COMPONENT_TYPE_VAPOUR_PRESSURE_DEFICIT, 0x3f],
|
||||
// [quack.ComponentType.COMPONENT_TYPE_VAPOUR_PRESSURE_DEFICIT, 0x3f], //component type deprecated?
|
||||
[quack.ComponentType.COMPONENT_TYPE_CAPACITANCE, 0x4f],
|
||||
[quack.ComponentType.COMPONENT_TYPE_CAPACITOR_CABLE, 0x4f],
|
||||
[quack.ComponentType.COMPONENT_TYPE_SEN5X, 0x68],
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ const DefaultAvailability: DeviceAvailabilityMap = new Map<quack.AddressType, De
|
|||
[quack.ComponentType.COMPONENT_TYPE_STEPPER_MOTOR, [0x14, 0x15, 0x16, 0x17]],
|
||||
[quack.ComponentType.COMPONENT_TYPE_PH, [0x40]],
|
||||
[quack.ComponentType.COMPONENT_TYPE_DHT, [0x40, 0x61]], //TODO temp fix, needs to be fixed to use channels similar to PH
|
||||
[quack.ComponentType.COMPONENT_TYPE_VAPOUR_PRESSURE_DEFICIT, [0x40]],
|
||||
// [quack.ComponentType.COMPONENT_TYPE_VAPOUR_PRESSURE_DEFICIT, [0x40]], //component type deprecated?
|
||||
[quack.ComponentType.COMPONENT_TYPE_AIR_QUALITY, [0x58]],
|
||||
[quack.ComponentType.COMPONENT_TYPE_LIDAR, [0x62]],
|
||||
[quack.ComponentType.COMPONENT_TYPE_CAPACITANCE, [0x50]],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue