The IOTA Weather Node is a Weather Node built with a Raspberry Pi and the add-on board Sense HAT. The Weather Node send and receive Data over the new IOTA Protocol.
requirements:
- Raspberry Pi
- microSD card with installed Ubuntu MATE 16.04 LTS
- Raspberry Pi Sense HAT
- IOTA Node
The IOTA Weather Node waiting until a client send a transaction with >0 IOTAs and a message. With the message the client tell the node what is his request and an address on which the node can send his answer. So can be send a command is arrived over the IOTA Protocol. After this he read the Weather info from the Sense HAT and send them back or just show a promotion on his 8x8 LED Matrix.
For a step by step tutorial go to necropaz.github.io (will follow later)
For a step by step tutorial go to necropaz.github.io (will follow later)
Send a message to a specified Adress.
Direction | Parameters | Type | Required | Description |
---|---|---|---|---|
input |
seed |
string | Yes | 81-char encoded string which contains the accounts seed. The seed must be correctly encoded: only uppercase latin letters and 9’s. No other characters are allowed. |
input |
address |
string | Yes | 81-char long address of the recipient of a transaction. |
input |
message |
string | Yes | The message which added to the transation. |
input |
value |
string | Yes | string the quantity of IOTA’s which should be transferred. |
Send a request to the IOTA Node and return the andswer.
Direction | Parameters | Type | Required | Description |
---|---|---|---|---|
input |
command |
string | Yes | The command which will made the request. |
return |
jsonData |
string | Yes | The answer from the request in JSON. |
Direction | Parameters | Type | Required | Description |
---|---|---|---|---|
input |
address |
string | Yes | 81-char long address of the recipient of a transaction. |
return |
transaction |
string | Yes | Hash of the last transaction. |
Direction | Parameters | Type | Required | Description |
---|---|---|---|---|
input |
transaction |
string | Yes | Hash of the transaction from which you wanna read the sender address. |
return |
address |
string | Yes | Sender address of the transaction. |
Direction | Parameters | Type | Required | Description |
---|---|---|---|---|
input |
seed |
string | Yes | 81-char encoded string which contains the accounts seed. The seed must be correctly encoded: only uppercase latin letters and 9’s. No other characters are allowed. |
return |
transaction |
string | Yes | Hash of the last transaction. |
Direction | Parameters | Type | Required | Description |
---|---|---|---|---|
input |
transaction |
string | Yes | Hash of the transaction which include the message. |
return |
message |
string | Yes | The message which is encoded in Trytes. |
Direction | Parameters | Type | Required | Description |
---|---|---|---|---|
input |
char |
char | Yes | ASCII Character which will encoded to a Tryte. |
return |
tryte |
char | Yes | The encoded character as tryte. |
Direction | Parameters | Type | Required | Description |
---|---|---|---|---|
input |
char1 |
char | Yes | First Tryte Character. |
input |
char2 |
char | Yes | Second Tryte Character. |
return |
byte |
char | Yes | The decoded Byte as ASCII character. |
Direction | Parameters | Type | Required | Description |
---|---|---|---|---|
input |
message |
string | Yes | Message which will be encoded to tyrtes. |
return |
trytes |
string | Yes | The encoded message in trytes |
Direction | Parameters | Type | Required | Description |
---|---|---|---|---|
input |
trytes |
string | Yes | Trytes which will be decoded to ASCII characters. |
return |
message |
string | Yes | The decoded Message. |