Sign inSign up

larsid/virtual-fot-device

By larsid

Updated 11 months ago

A virtual device that simulates sensors and uses an MQTT broker to communicate.

Image
Networking
Internet of things
1

4.9K

larsid/virtual-fot-device repository overview

virtual-fot-device

A virtual device that simulates sensors and uses an MQTT broker to communicate using the TATU and ExtendedTATU protocol.

Click here to check more information about virtual-fot-device.

Parameters

ArgNameDescriptionDefault
-diDevice IDSets the device name to identify it in an MQTT connectionRandom
-biBroker IPSets the MQTT broker IPlocalhost
-ptPortSets the MQTT connection port1883
-usUsernameSets the MQTT connection userkaraf
-pwPasswordSets the MQTT connection passwordkaraf
-psPersistenceDefines whether the device should persist the collected samples in a filetrue

PS: There cannot be two devices with the same Device ID in the same MQTT broker.

How to use this image

docker run -i larsid/virtual-fot-device:<tagname>
Examples:
  • Changing the Device ID:
    docker run -i larsid/virtual-fot-device:<tagname> -di "myVirtualDevice"
    
  • Using a external broker:
     docker run -i larsid/virtual-fot-device:<tagname> -di "myVirtualDevice" -bi 0.0.0.0 -p 1885
    

Tag summary

Content type

Image

Digest

sha256:67634789c

Size

55 MB

Last updated

11 months ago

docker pull larsid/virtual-fot-device:v1.1.0-teste