Documentation ¶
Index ¶
- func AirQualitySensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, ...)
- func BMPSensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, ...)
- func LoudnessSensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, ...)
- func NU40C16SensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, ...)
- func SI1145SensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, ...)
- func SoilMoistureSensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, ...)
- type Batch
- type Job
- type PushitDevice
- func (d *PushitDevice) Accesstoken() *business.Accesstoken
- func (d *PushitDevice) Login(schismClient *schism.Client, name string, macAddr string) (err error)
- func (d *PushitDevice) Register(schismClient *schism.Client, name string, macAddr string) (err error)
- func (d *PushitDevice) RegisterJobs(lateralusClient *lateralus.Client, schismClient *schism.Client)
- func (d *PushitDevice) RegisterOrLogin(schismClient *schism.Client, name string, macAddr string) (err error)
- func (d *PushitDevice) StartJobs()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AirQualitySensorJob ¶ added in v0.5.0
func AirQualitySensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, device *PushitDevice)
func BMPSensorJob ¶ added in v0.5.0
func BMPSensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, device *PushitDevice)
func LoudnessSensorJob ¶ added in v0.5.0
func LoudnessSensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, device *PushitDevice)
func NU40C16SensorJob ¶ added in v0.5.0
func NU40C16SensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, device *PushitDevice)
func SI1145SensorJob ¶ added in v0.5.0
func SI1145SensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, device *PushitDevice)
func SoilMoistureSensorJob ¶ added in v0.5.0
func SoilMoistureSensorJob(lateralusClient *lateralus.Client, schismClient *schism.Client, device *PushitDevice)
Types ¶
type Batch ¶ added in v0.5.0
type Batch struct { Data []_business.DataDefault // contains filtered or unexported fields }
type PushitDevice ¶
func NewPushitDevice ¶
func NewPushitDevice() *PushitDevice
func (*PushitDevice) Accesstoken ¶
func (d *PushitDevice) Accesstoken() *business.Accesstoken
func (*PushitDevice) Register ¶ added in v0.5.0
func (d *PushitDevice) Register(schismClient *schism.Client, name string, macAddr string) (err error)
Register and login if no id stored
func (*PushitDevice) RegisterJobs ¶ added in v0.5.0
func (d *PushitDevice) RegisterJobs(lateralusClient *lateralus.Client, schismClient *schism.Client)
func (*PushitDevice) RegisterOrLogin ¶
func (*PushitDevice) StartJobs ¶ added in v0.5.0
func (d *PushitDevice) StartJobs()
StartJobs kickoff all device jobs
Click to show internal directories.
Click to hide internal directories.