Categorieën: Alle - location - user - group

door Alex Podymskyi 6 jaren geleden

383

IOT-SO

The document outlines a structured approach to managing and reporting sensor data, focusing on different types of notifications and user interactions. It categorizes information based on sensor type, device issues, and report types, further segmented by location and user groups.

IOT-SO

Question for discuss

issue with measurement ?? send one time or as schedule time?

Mapper via wildcard

Channel variables

None, just formatting

{{value3}}

{{value2}}

{{value1}}

APP variables
Some of EventDetails

{{Location}}

{{Value_units}}

{{Value}}

{{Notification Source Type}}

Device.Issue.Report

DEVICE.SENSOR.PING.ISSUE

DEVICE.PING.ISSUE

Measurment

CO2

Temperature

Channel Variants

SMS

facebook

email

channel_config_email id recepient mail Formatting

SLACK?

channel_config_slack by group.id
-> send

Key(Sensor Type/ Device.Issue.Report.type) Value

Is Event

By key (type)
withing Location depths levels (All in Office, All in Office+Floor, All in Room)

By value

min<=value<=max

value<=max

value>=min

Filter urgent ones

User

Notification Channel
Group (user_id_t_1)
IFTTT SETTINGS (Channel Settings)

profile

add Notification
1 notification

Location 1

TEMP_HIGH

Group(s) id Name user.id (nullable)

Channel
ChannelSettings

Any count of users [ postponed ]

>1

no users

-> group.id

Device Issue

Route

Group Notification channel Notification Settings

Nofification Event Sending

Events for Notification

EventFilter
EventBus

EventFilter delay

Urgent

Normal

Each 1-2 minutes

Sources of Probable notificationEvents

Create event By some rules

Measurements

Device.Issue.Report type location createdAt

Event id type(sensor type/ device issue report type) val_min (nullable) val_max (nullable) Location (nullable) group.id (nullable)

Group id Name
Route id event.id notification.channel.id

Channel id name group.id(orNull) user.id(orNull) channelType config(JSON) ...

Channel Message Formatting

->

Devices

API
Register
Send Info

Token

Measurments

Id

BE

Notifications
Website
Non-website

Subscibed Users

OpenedQuestion:

1) pull subscribed users?

(1) By type? By location?

webhook? (Non-IFTTT)

Self written

Webhook Call

Email

No solution so far

MailChimp

Can sub/unsubscribe user only

IFTTT can send email to IFTTT creator only

Browser PUSH notification

3dParty

https://web-push-codelab.appspot.com/

realtime.co

Works in Chrome and FF only

IFTTT

Restrictions

createdAt

3 values

message type

Variants

...

Webhook

Slack

custom

redefine websiteSettings

websiteSettings

slackBot

@user

@channel

Devices info Recieve
Bad

Notify

Report

Why Bad?

Sensor(s) value(s) wrong

No ping from sensor(s)

No ping from device

Ok