Scalable and extendable sensor monitoring, analyzing and management solution
You need to setup Redis and MySQL to use Sensor Fusion locally
Run dotnet run
from SensorFusion.Web.Api and SensorFusion.Web.Receiver directories. For deployment on server use dotnet publish -c
To start using Sensor Fusion, we need to setup sensors:
- Go to Sensors page
- Press '+' bottom at the right bottom corner
- Enter new sensor name
- Press Create
Repeat until all our sensor will be created
- Open
SensorFusion.IoT.Hub/config.json
using any text editor - Go down to the
"sensors"
section and add entries for each sensor. Key can be found at sensor's Edit page from Sensors
Example of file config.json
:
{
"receiver": {...},
"sensors": [
{ "key": "776699624d3749df90bfd14f357c07f4", "source": "emulated" },
{ "key": "0958cc2e561840939d76e353aa75345c", "source": "emulated" },
{ "key": "bc25f0715e25445cb64a25cda069b0eb", "source": "emulated" }
]
}
- Start hub using
dotnet run
from theSensorFusion.IoT.Hub
directory
After that, if setup was correct, you will receive new values for the sensors in Monitoring page