|
NAME
SYNOPSISSoftware-implemented devices based on https://github.com/InfernoEmbedded/onewire-softdeviceED [.]XXXXXXXXXXXX[XX][/[ device | version | status | enter_firmware_update | address | crc8 | id | locator | r_address | r_id | r_locator | type ]] FAMILY CODEEDGENERIC PROPERTIESThese properties are applicable to all Inferno Embedded softdevices.deviceread-only, ascii textThe type of InfernoEmbedded Softdevice detected. versionread-only, integerThe version number reported by the device. statusread-only, integerThe 64 bit status register of the device. enter_firmware_updatewrite-only, yes-noWrite anything to reboot the device into the bootloader for firmware update. This may also be forced if you have physical access to the device by shorting SWCLK to ground on the device's programming header when powering up the device. FIRMWARE UPDATER PROPERTIESThese properties are available when the device has entered firmware update mode.firmware_bootloader_sizeread-only, integerThe reserved size for the bootloader. firmware_rangeread-only, ascii textThe range of addresses available for the application (0xNNNN-0xNNNN). erase_firmwarewrite-only, yes-noWrite anything to erase the current application and prepare the device to accept a new firmware. update_firmwarewrite-only, binary dataWrite the binary data for a firmware update here to reprogram the device after erasing. exit_firmware_updatewrite-only, yes-noWrite anything to exit firmware update and start the application. RGBW CONTROLLER PROPERTIESThese controllers control a number of channels of RGBW lights.rgbw_all_offwrite-only, yes-noWrite anything to turn off all channels rgbw_channelsread-only, integerThe number of RGBW channels supported by this device. rgbw_channelNNread-write, ascii textSet the current value of channel NN, as: RRR,GGG,BBB,WWW,nnn where: RRR,GGG,BBB,WWW is the red, green, blue values respectively (0-255) nnn is the time to fade from the current colour to the new one, in milliseconds (0-16M). On read, this is time remaining for the current fade to complete. SWITCH MASTERSThese devices have a number of indicator LEDs, switch inputs and relay outputs. Each are grouped into ports of a certain number of channels.switch_portsread-only, integerThe number of switch ports available. switch_channelsread-only, integerThe number of channels available per switch port. switch_refresh_activationswrite-only, yes-noWrite anything here to update the values of all switch ports from the device. switch_portNread-only, ascii textThe last fetched state for the port (use switch_refresh_activations to fetch the state). Formatted as "channel0,channel1...channelN", where each channel is '0' or '1' depending on whether it is activated. set_switch_typewrite-only, ascii textSets the type of switch connected to the device. Format "port,channel,type" where port and channel are integer IDs, and type is: 0 Toggle switch to VCC with pull-downs enabled on the device 1 Toggle switch to Gnd with pull-ups enabled on the device 2 Momentary switch to VCC with pull-downs enabled on the device 3 Momentary switch to Gnd with pull-ups enabled on the device led_portsread-only, integerThe number of LED ports available. led_channelsread-only, integerThe number of channels available per LED port. led_portNread-write, ascii textThe state for the port. Formatted as "channel0,channel1...channelN", where each channel is '0' or '1' depending on whether the LED is lit. relay_portsread-only, integerThe number of relay ports available. relay_channelsread-only, integerThe number of channels available per relay port. relay_portNread-write, ascii textThe state for the port. Formatted as "channel0,channel1...channelN", where each channel is '0' or '1' depending on whether the relay is activated. relay_modeNread-write, ascii textThe mode for each relay on the port. Formatted as "channel0,channel1...channelN", where each channel is one of the following modes: 0 Channel operates independently 1 Channel operates as a member of an even/odd pair If the channels are operated as pairs, the even numbered relay is activated when the even numbered channel is turned on, and the odd numbered relay is activated when the even numbered channel is turned off. The odd numbered channel has no effect. This is useful when controlling devices such as roller shutters, projector screens and air conditioning dampers, which require one relay to be activated to open, and another to close. relay_timeoutNread-write, ascii textThe timeout for each relay on the port. Formatted as "channel0,channel1...channelN", where each channel is an integer (0-255) representing the number of seconds the relay will remain activated when operating as an even/odd pair. ADDRESSINGAll 1-wire devices are factory assigned a unique 64-bit address. This address is of the form:
Addressing under OWFS is in hexadecimal, of form:
where 01 is an example 8-bit family code, and 12345678ABC is an example 48 bit address. The dot is optional, and the CRC code can included. If included, it must be correct. SEE ALSOProgramsowfs (1) owhttpd (1) owftpd (1) owserver (1) owdir (1) owread (1) owwrite (1) owpresent (1) owtap (1)Configuration and testingowfs (5) owtap (1) owmon (1)Language bindingsowtcl (3) owperl (3) owcapi (3)ClocksDS1427 (3) DS1904 (3) DS1994 (3) DS2404 (3) DS2404S (3) DS2415 (3) DS2417 (3)IDDS2401 (3) DS2411 (3) DS1990A (3)MemoryDS1982 (3) DS1985 (3) DS1986 (3) DS1991 (3) DS1992 (3) DS1993 (3) DS1995 (3) DS1996 (3) DS2430A (3) DS2431 (3) DS2433 (3) DS2502 (3) DS2506 (3) DS28E04 (3) DS28EC20 (3)SwitchesDS2405 (3) DS2406 (3) DS2408 (3) DS2409 (3) DS2413 (3) DS28EA00 (3) InfernoEmbedded (3)TemperatureDS1822 (3) DS1825 (3) DS1820 (3) DS18B20 (3) DS18S20 (3) DS1920 (3) DS1921 (3) DS1821 (3) DS28EA00 (3) DS28E04 (3) EDS0064 (3) EDS0065 (3) EDS0066 (3) EDS0067 (3) EDS0068 (3) EDS0071 (3) EDS0072 (3) MAX31826 (3)HumidityDS1922 (3) DS2438 (3) EDS0065 (3) EDS0068 (3)VoltageDS2450 (3)ResistanceDS2890 (3)Multifunction (current, voltage, temperature)DS2436 (3) DS2437 (3) DS2438 (3) DS2751 (3) DS2755 (3) DS2756 (3) DS2760 (3) DS2770 (3) DS2780 (3) DS2781 (3) DS2788 (3) DS2784 (3)CounterDS2423 (3)LCD ScreenLCD (3) DS2408 (3)CryptoDS1977 (3)PressureDS2406 (3) TAI8570 (3) EDS0066 (3) EDS0068 (3)MoistureEEEF (3) DS2438 (3)AVAILABILITYhttps://github.com/InfernoEmbedded/onewire-softdeviceAUTHORAlastair D'Silva (alastair@d-silva.org)
Visit the GSP FreeBSD Man Page Interface. |