EasyIoT Server Windows Installation? Help Please

9 years 9 months ago - 9 years 9 months ago #874 by wooduino
Maybe this is so obvious that its been overlooked.. So I would appreciate some assistance.

I would like to design Arduino-based applications that use the ESP8266 wifi module.
I have the "Esp8266EasyIoT" libraries for Arduino that require the use of an "easyIoT" server. As I do not have a Raspberry I have downloaded the Windows version of the server.

I guess that I just don't understand the purpose of the easyIoT windows server. I have looked for installation and operation information but so far I’ve drawn a blank for moving beyond the running of EasyIoT.exe.

I have downloaded the software and "installed" it (please see attached image) and then what do I do?

- How is the server accessed?
- What does it do?
- Which browser should I use and directed to which file?
- Etc.

Any help, please?

Many thanks,
Attachments:

Please Log in or Create an account to join the conversation.

9 years 9 months ago #875 by tonyn79
Once you have downloaded the server, just extract the files and run the exe as administrator. Then go to the ip address of the computer you run it on with a web browser. If you need to get that address, run a command prompt and type ipconfig, the output will include you address of your computer.

Please Log in or Create an account to join the conversation.

9 years 9 months ago #876 by wooduino
Thanks...
What are the login credentials for the server?

Please Log in or Create an account to join the conversation.

9 years 9 months ago #877 by tonyn79
The following user(s) said Thank You: wooduino

Please Log in or Create an account to join the conversation.

9 years 1 week ago - 9 years 1 week ago #2647 by BadBallscrewBob
Sorry to resurrect this thread but the step throughs seem only to deal with "virtual" modules and nodes.

I got as far as the original poster and can access the dashboard fine.
There are a lot of "examples". Should I delete those and start from scratch ?

I have four modules that run fine from the cloud here but want to be able to manipulate them from the windows version of the server.

I tried to follow the step throughs for adding modules etc. to an instance of the server but so far have drawn a blank at getting my actual modules into it.
tried via mqtt and esp driver sections but don't see anything that helps me.

btw I dont has a ras pi and wonder if that is mandatory ?

Am also including the startup log from the server as I am sure there is something in there too I am missing.
2015-12-09T10:04:43.0518442-05:00       INFO    System
System started
Dec 09 10:04:43  Web service started
Dec 09 10:04:43  Listening on port(s):80, 1302
2015-12-09T10:04:43.5038701-05:00       DEBUG   MySensors
        MySensors Disconnect
2015-12-09T10:04:43.5128706-05:00       DEBUG   RPiGPIO
GPIO Disconnect
2015-12-09T10:04:43.5218711-05:00       DEBUG   Esp8266
ESP8266 Connect
2015-12-09T10:04:43.5228711-05:00       DEBUG   Esp8266
Server Started
2015-12-09T10:04:43.5348718-05:00       DEBUG   MQTTClient
        MQTT client Connect
2015-12-09T10:04:45.8840062-05:00       ERROR   MQTTClient
        Unable to connect to the broker/n   at MqttLib.Mqtt.DoConnect(MqttConnec
tMessage conmsg)
   at MqttLib.Mqtt.Connect(Boolean cleanStart)
   at MQTTClientDriver.MQTTClient.connect()
2015-12-09T10:04:45.8880064-05:00       DEBUG   MQTTClient
        MQTT client Disconnect
Error driverPropertyChangedAction module not found
2015-12-09T10:04:45.8910066-05:00       INFO    MQTTClient      N1S2    Status.C
onnection       0       -
2015-12-09T10:04:45.8910066-05:00       INFO    MQTTClient      N4S1    Status.C
onnection       0       -
2015-12-09T10:04:45.8920067-05:00       INFO    MQTTClient      N2S0    Status.C
onnection       0       -
2015-12-09T10:04:45.8930067-05:00       INFO    MQTTClient      N2S1    Status.C
onnection       0       -
2015-12-09T10:04:45.8930067-05:00       INFO    MQTTClient      N4S0    Status.C
onnection       0       -
2015-12-09T10:04:45.8940068-05:00       INFO    MQTTClient      N4S1    Status.C
onnection       0       -
2015-12-09T10:04:45.8950068-05:00       DEBUG   MQTTClient
        MQTT client Connect
Error driverPropertyChangedAction module not found
2015-12-09T10:04:46.4170367-05:00       INFO    MQTTClient      N1S2    Status.C
onnection       1       -
2015-12-09T10:04:46.4170367-05:00       INFO    MQTTClient      N4S1    Status.C
onnection       1       -
2015-12-09T10:04:47.1950812-05:00       INFO    MQTTClient      N2S0    Status.C
onnection       1       -
2015-12-09T10:04:47.1950812-05:00       INFO    MQTTClient      N2S1    Status.C
onnection       1       -
2015-12-09T10:04:48.1951384-05:00       ERROR   MQTTClient
        Unable to connect to the broker/n   at MqttLib.Mqtt.DoConnect(MqttConnec
tMessage conmsg)
   at MqttLib.Mqtt.Connect(Boolean cleanStart)
   at MQTTClientDriver.MQTTClient.connect()

Do unto others before they get chance to scr3w you over

Please Log in or Create an account to join the conversation.

9 years 1 week ago #2648 by NightOne
Hi there,

I am assuming that you have been working on the server cloud with your ESP8266 nodes and those have been working?, and I am assuming that you have created a local network version with the EasyIOT server download?

The main problem would be that the 2 systems are completely different.... the EasyIOT server that you have locally makes use of a simple rest API to control the nodes or for the sensors to "post" to the node.... I say post in quotes because its actually just a normal http get... this is what makes the EasyIOT server so simple to use.

The cloud instance of EasyIOT has been completely rewriten to make use of MQTT (pub/sub) hence each sensor has a funny ID or address so it creates topics for itself. When you use the cloudESP library in your arduino code it is assuming that you are writing to the cloud server, the developers did this so as to make life alot easier for themselves and mostly to make life easier for people using there software. The cloud EasyIOT also has a rest api so you can use sensors without the need to add the library for the MQTT api

If you are simply using the same arduino code on the ESP8266 with cloud library it will not work.

When you what to use a local version of EasyIOT then you will need to use code like in the following examples:

iot-playground.com/15-esp8266-wifi-tempe...-and-humidity-sensor

iot-playground.com/16-esp8266-wifi-relay-switch

You will see that the code in these examples use the <Esp8266EasyIoT.h> library that is coded to work with a local EasyIOT server

Hope this helps

Please Log in or Create an account to join the conversation.

Time to create page: 0.263 seconds

Forum latest

  • No posts to display.