MyController 0.0.3.Alpha2 released!! :)
-
After quick read the doc. I have few question. I use serial gateway and is it possible to publish sensors data to an external MQTT server ? And Is it possible to import MQTT topic and use it in scripts.
Actually I have for example milight bulbs or Kodi connected to my MQTT broker.
Another question : OTA will work with sleeping node ? When node wake up (and correctly configured) is it possible to send new firmware ?
Finally, an update would be fine to select node in list and sensors too to send raw data. -
Just a quick test. "GatewayESP8266MQTTClient" on mosquitto mqtt-server works fine. I currently have only one test-node but it is successfully detected and all sensors on this node are listed fine!
One thing I noticed is somewhat unclear to me. If some rules tripp an action. e.g. "Send a mail" .. is there a way to specify how often this should happen? I see an option to completely disable the rule after one time trigger but it would be nice to have a way to reset this.
e.g.
- rule is triggered
- mail is send
- rule is disable
- after configurable time elapsed (1 hour?) the rule is automatically reenabled
This would prevent spam in case of broken sensor or unintended triggers.
To clarify: I have noticed the dampening feature .. but this might still not be enough. My case is when a sensor goes rogue for whatever reason .. and I send a notification to my work email address. Under NO NO circumstances the email should be send multiple time and I don't want to reenable the rule after triggering.
PS: Very well done. I like the webpage and the overall user experience.
Addition: The Values from my sensors are not auto refreshed in the dashboard and Resources->Sensors. Would be really nice to be able to refresh these values constantly (configurable) to get an even better "live" user experience.Noticed the widget refresh interval is configurable. Nice!
-
Just a quick test. "GatewayESP8266MQTTClient" on mosquitto mqtt-server works fine. I currently have only one test-node but it is successfully detected and all sensors on this node are listed fine!
One thing I noticed is somewhat unclear to me. If some rules tripp an action. e.g. "Send a mail" .. is there a way to specify how often this should happen? I see an option to completely disable the rule after one time trigger but it would be nice to have a way to reset this.
e.g.
- rule is triggered
- mail is send
- rule is disable
- after configurable time elapsed (1 hour?) the rule is automatically reenabled
This would prevent spam in case of broken sensor or unintended triggers.
To clarify: I have noticed the dampening feature .. but this might still not be enough. My case is when a sensor goes rogue for whatever reason .. and I send a notification to my work email address. Under NO NO circumstances the email should be send multiple time and I don't want to reenable the rule after triggering.
PS: Very well done. I like the webpage and the overall user experience.
Addition: The Values from my sensors are not auto refreshed in the dashboard and Resources->Sensors. Would be really nice to be able to refresh these values constantly (configurable) to get an even better "live" user experience.Noticed the widget refresh interval is configurable. Nice!
@cimba007 This is good feature request! I can implement this one.
For now we have workaround for this option.
Create arulefor your sensor with auto disable option.
Create a simpletimerwith one hour interval (3600seconds) and repeat count as1- Create the following operations,
- Send email for your work email
- Enable your rule
- Enable your timer
Now map operations like mentioned here,
- In the
RuleselectOperation's, 1 and 3 - In the timer select
Operation2
-
After quick read the doc. I have few question. I use serial gateway and is it possible to publish sensors data to an external MQTT server ? And Is it possible to import MQTT topic and use it in scripts.
Actually I have for example milight bulbs or Kodi connected to my MQTT broker.
Another question : OTA will work with sleeping node ? When node wake up (and correctly configured) is it possible to send new firmware ?
Finally, an update would be fine to select node in list and sensors too to send raw data.@Fabien said:
After quick read the doc. I have few question. I use serial gateway and is it possible to publish sensors data to an external MQTT server ? And Is it possible to import MQTT topic and use it in scripts.
For now it supports only for
InfluxDB,emoncms.organdsparkfun. Please create a feature request to supportMQTT. Please note this one way communication, it means pushes data to external server. Not listening from external servers.EDIT:
MQTTexternal server support added at https://github.com/mycontroller-org/mycontroller/commit/9c179f9f88022fd5e7cee782c884f4c9bc38fceaActually I have for example milight bulbs or Kodi connected to my MQTT broker.
For these kind of things we have to add gateway support. If we have support in gateway for these devices we can control these device as like normal MySensors device. Please create a feature request with these device documentations with API details, I will add it when I get time.
Another question : OTA will work with sleeping node ? When node wake up (and correctly configured) is it possible to send new firmware ?
For now MyController doesn't support for sleeping nodes.
Finally, an update would be fine to select node in list and sensors too to send raw data.
I'm sorry I could not get this one?
-
@cimba007 This is good feature request! I can implement this one.
For now we have workaround for this option.
Create arulefor your sensor with auto disable option.
Create a simpletimerwith one hour interval (3600seconds) and repeat count as1- Create the following operations,
- Send email for your work email
- Enable your rule
- Enable your timer
Now map operations like mentioned here,
- In the
RuleselectOperation's, 1 and 3 - In the timer select
Operation2
@jkandasa said:
Enable your rule
Looking at operations I see only operations to send notifications and no operation to enable/disable a rule? Might the functionality I am looking for hidden in the "scripting" part? If so I could not find any documentation of the scripting stuff.
PS: Found the documentation, slightly hidden on the download page.
PPS: Found it, "send payload" might not be too intuitive to find operations to manipulate rules ;_)Do I even need a timer? Looks like this simple rule might fulfill my needs:
-
@jkandasa said:
Enable your rule
Looking at operations I see only operations to send notifications and no operation to enable/disable a rule? Might the functionality I am looking for hidden in the "scripting" part? If so I could not find any documentation of the scripting stuff.
PS: Found the documentation, slightly hidden on the download page.
PPS: Found it, "send payload" might not be too intuitive to find operations to manipulate rules ;_)Do I even need a timer? Looks like this simple rule might fulfill my needs:
Found it, "send payload" might not be too intuitive to find operations to manipulate rules ;_)
Name it we may change it on next release, If the current name confuses.
Do I even need a timer? Looks like this simple rule might fulfill my needs:
Yes, I forgot this delay field, This simple rule is enough for you. You can map this operation also along with your
Rule definition. This delay is in seconds. -
how can i reset the login and password.
no matter what i do i get "invalid username and password"
I've tried admin/admin a million times@mvader said:
how can i reset the login and password.
I'm sorry, for now we do not have direct way to reset password.
We have a workaround to reset password by accessing database directly. I know this is not a good solution :( I will try to give new option to reset password in friendly manner.To reset admin password,
Note: First you have to STOP(
mycontroller/bin/stop.sh) MyController serverDownload and extract http://www.h2database.com/h2-2014-04-05.zip in to your raspberry PI.
java -cp h2/bin/h2*.jar org.h2.tools.ShellURL jdbc:h2:/opt/mycontroller/conf/mycontroller Driver org.h2.Driver User mycontroller Password mycontrollerSet your path exactly with the above command.
Update useradminpasswordUPDATE USER SET PASSWORD='Wm1vE8jvQXE=' WHERE USERNAME='admin';
Note: In database passwords are encrypted. for admin encrypted string isWm1vE8jvQXE.You can also check
adminwith default password by runningSELECT * FROM USER;EDIT: created new ticket: https://github.com/mycontroller-org/mycontroller/issues/233
-
Found it, "send payload" might not be too intuitive to find operations to manipulate rules ;_)
Name it we may change it on next release, If the current name confuses.
Do I even need a timer? Looks like this simple rule might fulfill my needs:
Yes, I forgot this delay field, This simple rule is enough for you. You can map this operation also along with your
Rule definition. This delay is in seconds.@jkandasa
Just a suggestion:Send notification would include all further kinds of notifications you might include but grouping this is not that important. The current way it is is already very easy to understand so a change might not be necessary.
Send payload might be better split into three different points as it would be very clear from the beginning what you are dealing with.
- Dealing with Resources (manipulating stuff that is only known to the controller )
- Manipulating Devices (reboot etc. .. this is more like a "command")
- Update Sensor variables is an 1:1 mapping of the request/set concept of mysensors
-
@mvader said:
how can i reset the login and password.
I'm sorry, for now we do not have direct way to reset password.
We have a workaround to reset password by accessing database directly. I know this is not a good solution :( I will try to give new option to reset password in friendly manner.To reset admin password,
Note: First you have to STOP(
mycontroller/bin/stop.sh) MyController serverDownload and extract http://www.h2database.com/h2-2014-04-05.zip in to your raspberry PI.
java -cp h2/bin/h2*.jar org.h2.tools.ShellURL jdbc:h2:/opt/mycontroller/conf/mycontroller Driver org.h2.Driver User mycontroller Password mycontrollerSet your path exactly with the above command.
Update useradminpasswordUPDATE USER SET PASSWORD='Wm1vE8jvQXE=' WHERE USERNAME='admin';
Note: In database passwords are encrypted. for admin encrypted string isWm1vE8jvQXE.You can also check
adminwith default password by runningSELECT * FROM USER;EDIT: created new ticket: https://github.com/mycontroller-org/mycontroller/issues/233
-
@jkandasa
Just a suggestion:Send notification would include all further kinds of notifications you might include but grouping this is not that important. The current way it is is already very easy to understand so a change might not be necessary.
Send payload might be better split into three different points as it would be very clear from the beginning what you are dealing with.
- Dealing with Resources (manipulating stuff that is only known to the controller )
- Manipulating Devices (reboot etc. .. this is more like a "command")
- Update Sensor variables is an 1:1 mapping of the request/set concept of mysensors
@cimba007 Thank you! I have created a ticket to track this one, https://github.com/mycontroller-org/mycontroller/issues/235
-
@cimba007 This is good feature request! I can implement this one.
For now we have workaround for this option.
Create arulefor your sensor with auto disable option.
Create a simpletimerwith one hour interval (3600seconds) and repeat count as1- Create the following operations,
- Send email for your work email
- Enable your rule
- Enable your timer
Now map operations like mentioned here,
- In the
RuleselectOperation's, 1 and 3 - In the timer select
Operation2