@neech You can try, but some features are still not available - not all of UI elements available for now, there is only support Serial MYS-gateway (not ethernet). It is better to wait some more time. I'm sure I'm close to releasing a public beta version, but not today)
Posts made by derwish
-
RE: MyNodes.NET moving to node.js.
-
RE: MyNodes.NET moving to node.js.
Hi @antlomb! The development is in full swing and is nearing completion. I did a great job, much more than I planned for this version. The final step is the redesign of the user interface, and some more minor improvements. I made everything much more convenient and intuitive. You can see the CHANGELOG.
-
RE: how move Mysensor Nodes to other Panels?
@kellers76
I work hard right now and plan to finish it in a month or two.
Recently, I added support for the hardware from Xiaomi. Watch for the changelog -
RE: how move Mysensor Nodes to other Panels?
@kellers76
Unfortunately no. There's a lot of things done differently under the hood. I can make a converter if it is in demand, but so far it is not in the priority. -
RE: how move Mysensor Nodes to other Panels?
Hi. This function is already implemented in the new alpha version. But this build is not yet ready for use.
-
RE: Installing ASP.NET 5/Core onto Raspberry Pi 3
Hi. At this moment the project was successfully ported to the ASP .NET Core (thanks to gildorwang). But I did not try to run it on raspberry. You can try last version. At the same time, I'm porting MyNodes to the node.js. This project is ready for 70%. It will work on raspberry, but at the moment it is not ready to use.
-
RE: MyNodes.NET moving to node.js.
@ebo hi
I had to postpone this project because of work, but I plan to start in January and finish within a month or two. -
RE: Set/Reset states possible?
@Wodian The whole process is described in detail in the documentation: http://mynodes.net/Develop
-
RE: Set/Reset states possible?
@Wodian What type of script? Look ready nodes as examples.
-
RE: Set/Reset states possible?
@Wodian You can use any folder you want. Create a new one. The folder name can be anything.
-
RE: MyNodes.NET moving to node.js.
@neech This instructions for the latest version of the framework. It's not compatible. Look for how to install the RC1 version.
-
RE: MyNodes.NET moving to node.js.
@fahrettine I halted the development, because now working on a commercial project. But I plan to continue to develop after two months. I think that in this case, the working version will be released by the end of the year.
-
RE: MyNodes.NET moving to node.js.
@neech Hi. Version for node.js will not require ASP.NET. It will be independent software. But it is still in a very early stage of development, and there are no predictions when it will be finished. But now, I think you need to find instructions on how to install ASP.NET 5 version RC1, and then everything will work fine.
-
RE: MyNodes.NET moving to node.js.
@Nca78 Thank you for your interest. Write about your experience, and ask questions if something is not clear in the code.
-
RE: MyNodes.NET moving to node.js.
@dpressle
https://nodejs.org/en/download/current/
Current version: v6.2.2 (includes npm 3.9.5) -
RE: MyNodes.NET moving to node.js.
@dpressle I use:
node -v
v6.2.0
npm -v
3.8.9 -
RE: MyNodes.NET moving to node.js.
@ismail-çataroğlu Thank you. I will add an email node. Perhaps an sms, if I can find a good service.
-
RE: MyNodes.NET moving to node.js.
@dpressle
Hi. connectToSerialPort should work. The connection with the gateway is already working, and all is displayed correctly on the /mysensors page.
I'm not familiar with Angular yet. To me it seems pretty cumbersome. Handlebars now works not bad in the role of templating engine. What are the advantages of switching to angular? -
RE: MyNodes.NET moving to node.js.
@ericvdb I have not noticed problems with the panels and the Google speech. Take note of this and will look later. Thank you.
-
RE: MyNodes.NET moving to node.js.
@Fabien No. How can it be useful for MyNodes.net?
-
RE: MyNodes.NET moving to node.js.
@ericvdb Thanks for the feedback. It would be very cool if it was possible to see the values on the inputs/outputs. I have thought about it, but I don't specialist in front-end development and I haven't tried to implement it yet. However, in the new version I'm going to do step-by-step code execution in the nodes (instead of events). Thus you can manually control the speed with which the changed value is pushed along the chain of nodes (up to each step).
I don't refuse support .net version of the controller. The new version will be developed in a separate repository. I decided to write a new version in node.js for two reasons:
Microsoft has released a new (still beta) version ASP.NET and they changed so many things in it compared to the last. I wanted to port the code to a new version, but it turned out that it's not easy. If I do the porting now, I will have to do it again when Microsoft will release the final version ASP.NET. So I decided to wait until the API is finally completed.
I expect there are developers who join the development MyNodes.NET. But the interest of developers is not so strong as I expected. Perhaps ASP.NET not so popular among developers who may be interested in creating a smart home, and such things. I thought MyNodes may become more popular if it will be written in node.js. Let's see what will come out of this.
-
MyNodes.NET moving to node.js.
Happy to announce that I started working on a new version of MyNodes.
I decided to port the program to node.js. I don't expect that the new version will see many changes in functionality, but the whole internal architecture will be redesigned.
In my plans the following changes:- The event-driven system will be replaced per cycle. Now, for example, if the software node has inputs A, B and output C, then C will updated the first time you change A, and again when changing B. This complicates the process of creating circuits from nodes, because we need to ensure that C has not sent the changes ahead of time. In the future system we are confident that any node will perform its own logic for one iteration of the loop, and so it will be easier to understand how the value will change in the chain of nodes.
- The new version is designed so that it can be easy to add support for new protocols.
- MongoDB support.
- The program will work under OS X.
- Serial gateway will work under linux.
I'll write about all the new features and changes.
If you have any thoughts about this or suggestions, please write here.
If you wish to contribute, please join. -
RE: Unable to find entry point named 'sqlite3_stmt_readonly' in DLL sqlite3
Then, I don't know what could be the problem. Wait a while, I'm working on a major update to mynodes.
-
RE: Unable to find entry point named 'sqlite3_stmt_readonly' in DLL sqlite3
Hello. Are you using Windows? This error occurs in OS X.
-
RE: Installing ASP.NET 5/Core onto Raspberry Pi 3
I started to port MyNodes, but it's not as easy as I thought. Meanwhile, you can try to install everything according to the old instructions: https://docs.asp.net/en/1.0.0-rc1/getting-started/installing-on-linux.html
-
RE: Installing ASP.NET 5/Core onto Raspberry Pi 3
I will try to do it on the weekend.
-
RE: Installing ASP.NET 5/Core onto Raspberry Pi 3
It seems Microsoft has removed the old version of the ASP.NET framework, as soon as the new released. Wait for MyNodes be updated on the new framework.
-
RE: Remote Configuration
@Takero Microsoft has updated the ASP.NET framework. I will soon make a port on it. I hope they fixed this bug.
-
RE: Remote Configuration
@Takero Really sad. I contacted Microsoft and they told that the problem must be sought in mono. Need to wait for mono to fix it. At the moment, you can only use Ethernet gateway.
-
RE: Questions on implementing in the real world
@AWI It would probably be wise to make it optional.
-
RE: Questions on implementing in the real world
@dpressle Send me a pull-request with a modified switch, please.
I'm not experienced with MQTT, so I can not tell on its implementation, but if there are any questions on the code, contact me on skype/telegram/email.I also recommend this cpu usage hotfix:
In nodesEngine.cs:
private void UpdateNodesLoop()
{
Task.Run(() =>
{
while (true)
{
Thread.Sleep(10);
if ((DateTime.Now - lastUpdateTime).TotalMilliseconds < updateInterval)
continue; -
RE: Remote Configuration
@Takero Then, just edit WebController\project.json:
"web": "Microsoft.AspNet.Server.Kestrel --server.urls http://localhost:1312"
replace " http://localhost:1312" to your IP.
Then start dnx webThis line:
https://github.com/derwish-pro/MyNodes.NET/blob/master/WebController/project.json#L31 -
RE: Questions on implementing in the real world
@dpressle Because I don't want to see V_TRIPPED and V_ARMED on each button/relay, etc. 99% that the second pin will not be used.
For Dimmer it will be V_STATUS, V_DIMMER, V_WATT.
For Temp - V_TEMP, V_ID.
For Baro - V_PRESSURE, V_FORECAST.
For Rgb light - V_RGB, V_WATT
Such a huge number of pins will be very confused. Even more confusing is the fact that it is not clear - this data type should be sent to the device or receive from it (V_STATUS, V_DIMMER, V_WATT - ? ? ?). -
RE: Questions on implementing in the real world
So, to make the node which supports 4 different datatypes, just write in the firmware that you have 4 sensors.
-
RE: Questions on implementing in the real world
@dpressle Hi. Yeah, I haven't made inputs in the buttons/switches yet. For now, you can use a UI State node as a workaround. If you want to experiment with coding, you can try to do it. Just look at the source code of the UI State and UI Switch, and put them together. It is not difficult in principle.
At the moment I have not solved the problem of implementing multiple data types in one sensor. The difficulty caused by the fact that I can't find out what type of data the sensor supports. This is not possible in the mysnsors protocol. I would have to draw lots of inputs/outputs at each node to support all types that are possible. It wouldn't be right. It would be possible to make a manual adjustment of data types, but it is not very convenient. So I did limitation: one sensor - one data type. If anybody tell me the solution how it can be implemented, I'll do it.
-
RE: how to build a software node using an http or websocket api?
@msantang Yes, it is possible. Look at the ScreenColorTransmitter code. This is a separate application that communicates with mynodes using http. You can send the data from node.js in the same way. If you want to use websocket, look at the ScreenColorTransmitterSignalR and use the signalR client for node.js. If you have difficulties, write me email: info@mynodes.net.
-
RE: Will MyNodes.NET work on a Raspi3 running under Windows 10 IoT?
@Heiko Hello. I have not tried to port mynodes on Windows IoT. But you can install it on Linux and connect to the gateway via Ethernet.
-
RE: More sensor in One chart
@dzairo Each node has a description in the editor (in the context menu). There is a link to a description of all the nodes.
Installation on RPi is not different from installing on Ubuntu.
MyNodes - Install in Ubuntu (ASP.NET5) – 03:11
— My NodesI'm waiting for Microsoft will release a new ASP.NET framework. Then the installation process on Linux will be simplified.
-
RE: More sensor in One chart
@dzairo Hello. The chart can not show multiple sources, but I've added this idea to my task list. At the moment, you can do a scene from the nodes to solve the problem. For example, add +1 to the first button, +2 for the second, +3 to third, then mix their signals in Connection/Hub Node, and you will see which button is pressed, provided that they are not pressed together.
-
RE: MyNodes.NET 2.0
@AWI Hi.
You're right. The installation process on Linux is a bit confusing. There is a video on my YouTube channel where I showed all the steps. This will help. Microsoft will soon release ASP.NET5 RC2. It should simplify installation on Linux. Then I will release 2.1 using the new framework and add new functionality.
Currently, the controller works according to this scheme: one sensor - one type of data. I tried to make it so that one sensor gave different data, but it caused a lot of problems, so I decided to leave it as is for now.
The main problem is that when any of the nodes registered in the network, it does not transmit what data types it operates. But the controller need to know what types of data can be sent to the node to draw a pin for each type. I can make these manual settings. But I don't know how to make it work automatically. If someone will write how it is implemented in other controllers, I will do the same. -
RE: Google Voice
@lanternaverde Then, I don't know how to change it right now. I'll try to make the language selection in a future release.
-
RE: Moving Nodes to Different Panel
MySensor nodes are always generated in the main panel. I mean, I want to do that other existing nodes can be moved from the main panel to the sub-panels. I didn't think about MySensor nodes. Maybe I'll do so you can move them, too. But at the moment it is not possible.
-
RE: Google Voice
@lanternaverde Thank you. I'll do this feature in a future release.
In the meantime, you can try to switch the language of Chrome to Italian.
If this does not work, there is another way:
Open WebController/wwwroot/js/dashboard/dashboard-voice-google.js file. Find:
var msg = new SpeechSynthesisUtterance(node.Value);
After that put:
msg.lang = 'it';
Save file. Refresh the Dashboard page in the browser. -
RE: Moving Nodes to Different Panel
Hi. Thank you for the positive feedback.
Move nodes from the main panel to another - one of the functions in my task list for the future. Now I can only advise to make all the nodes in the new sub-panels. -
RE: Charts not showing old data
@keldandorin Please, contact me on Skype or Telegram. See contacts in my profile. Will try to find out what the problem is.
-
RE: MySensors Contest Winners 2016
Thank you! I'm glad you appreciated my work.
-
RE: MyNodes.NET 2.0
@sle118 I haven't checked esp8266 gateway. I'll try to build it soon and check it out. The controller should work with any version.
I will add support for zwave devices, as soon as I get one. So far, I have not. -
RE: MyNodes.NET 2.0
@Qu3Uk I haven't built MQTT gateway yet. There is a sense to experiment with it?
-
RE: MyNodes.NET 2.0
@lordsidney This error occurs on Windows 7, if you have not installed the system update. https://github.com/aspnet/dnx/issues/3213
-
RE: MyNodes.NET 2.0
@keldandorin Hi. I've added your ideas to my task list. Thank you. If you can program in C#, you can try to do it yourself. Read documentation for developers.
I haven't experimented with Windows IOT yet, but it certainly works under Linux on the raspberry.
On about the service, I'll look for options, how to do it. It is a necessary thing for me too. -
RE: MyNodes.NET 2.0
@Greg-McFadyen Thank you.
Guys, if you make an interesting panels, share file/screenshot here.
I want to make panels for various kinds of RGB-LED fades for the party. I would be grateful if you help. -
RE: MyNodes.NET 2.0
@oscarc To start, just plug UI/Toggle. It will send "1" / "0" in your device. You got it in the firmware of the Arduino. When this will work, try different timers. For example, UI/Timer. You'll see its interface in dashboard. Schedule it to send "1" at the right time. If you have any problems, write me (info@mynodes.net) and I'll help you via Skype.
-
RE: MyNodes.NET 2.0
@Qu3Uk If it will be in demand, I will add the functionality that is being asked.
-
RE: MyNodes.NET 2.0
@Qu3Uk Thanks for the hint to unlock the zip archive. I got this problem while testing on some computers with Windows 7, and could not understand how to fix it. In Windows 10 this problem is not present. I'll write about it on the website.
About the request version. The controller queries the version of the gateway every 10 seconds, to make sure that the gateway is still connected. If the gateway does not respond, the controller will try to reconnect to it. This is a mechanism to protect against disconnects. Log console filters those messages by default, but you can see them if you enable Gateway Messages on config page.
-
RE: MyNodes.NET 2.0
@barduino At the moment there are some problems working with the serial port under Linux in ASP.NET5. I wrote about this in Troubleshooting. I made a request to Microsoft, but they answered that probably this is a problem in mono. I'm waiting for the update mono and ASP.NET5 RC2. But now there is only the possibility to use Ethernet-gateway.
-
MyNodes.NET 2.0
MyNodes.NET 2.0 has been released!
Key features:
Multiplatform. MyNodes.NET works on Windows or Linux. You can also run it on the Raspberry Pi.
Automatic recognition of devices. As soon as you power on your hardware, it appears in the program, and you can control it.
Dashboard. Create the control panels of your devices from UI elements such as buttons, sliders, input fields, etc. You will always have access to your control panels from the Internet using any device which has a browser.
Node Editor. Configure your system in the visual Node Editor. Add various functional elements (nodes) in the scene and connect them together with "wires" as if you work with real devices.
Wide functionality. Currently there are more than a hundred of different nodes in the editor.
Scheduling. You can add a timer to the control panel that will control your device to do something on a schedule.
Graphs and logs. UI elements have graphs and logs. You can visualize the current state of your device in real time and all the changes that have been in the past.
Text-to-speech and sound. You can connect the voice synthesizer to your device that will notify about important events. Or, just use an audio player to add sounds from mp3.
System-level tasks. Nodes can control your computer by performing various actions at the operating system level. For example, to run a program, play videos in your player, turn off the computer...
Export/Import scene. Export the scene of your nodes (panel) into a file and share it with the world. Download and import panels created by other users.
Synchronization in real-time. All your actions in the editor and control panels are synchronized with the server and other users who have opened the same interface in the browser.
Users and permissions. Add user profiles and assign permissions. You can specify in the users rights to which components of your system they will have access (what components the user can change, and what can only to observe).
Transfer data between multiple systems. You can combine multiple MyNodes.NET systems running on different computers into one system.
Connecting to external programs. As an example, a small utility is included, that you can use to make Ambilight from your computer and RGB-backlight.
Customization. Node Editor has many different visual styles. Customize it according to your preferences.
Easy to set up. The entire system is one single application. The software runs a web server, working with databases, communicates with the gateway, and uses no external resources (not requires Internet access). It is a fully autonomous system.
Open source, simple API. If you have minimal knowledge of programming in C#, you can easily create your own nodes for the editor. The entire process of creating a node described in the documentation on the website.
Read more on the official website.
Some video:
First Run Wizard
Basic functionality
Control the device (Ethernet Gateway)
Control the device (Serial Gateway)
Configuration
Ambilight Demo (Star Wars)
Ambilight Demo (VJ Loops)
Install in UbuntuDownload from www.mynodes.net
-
RE: MyNetSensors (closed)
I'm working hard on version 2.0, and I will ready to produce a release within a week or two. The main changes is cross-platform (Windows, Linux, Paspberry Pi), completely new design, node editor, customizable dashboard, simple installation and configuration, simple API and documentation for developers.
@blissbot Thanks for the feedback. I'll be glad if you join beta testing. Please download the latest commit from github (it has important fixes), and send me email to info@mynetsensors.com. I will try to fix the connection to the external database and send you a message.
-
RE: MyNetSensors (closed)
@fran52 Now I am working on version 2.0 (on Github). It will be completely redesigned. To compile the alpha version, you need ASP.NET5.
-
RE: MyNetSensors (closed)
@sky.s.kay Follow the installation instructions http://www.mynetsensors.com/Software/Install. Email info@mynetsensors.com at what stage of installation you have a problem.
-
RE: MyNetSensors (closed)
@gbfromhb Well, let's see how the situation will develop. I'm interested in node.js but now I'm more invested in ASP.NET5.
-
RE: MyNetSensors (closed)
@gbfromhb Thank you. One of the reasons why I began to write code in .NET - there is hope that when will come out the ASP.NET5, this project will work on any OS. I am interested to deal with it. Besides, I somehow nicer to program in C# than in JavaScript.
-
RE: MyNetSensors (closed)
@gbfromhb So far, I was looking at node.js only superficially. How can I use node in this project? If only to completely abandon IIS?
-
RE: MyNetSensors - Web Controller
Thanks for the feedback. If you have comments, send me an emeil. As for multiplatform, I'm going to rewrite the code in ASP.NET5, once it exits beta status.Theoretically, this will make it possible to run the system on Linux and Mac. I wrote code with the future in mind.
-
RE: MyNetSensors (closed)
I have suspended development of this program, focusing on the web version of this project. Currently, this program is inferior to the web controller in functionality. If you show interest in this project, as a separate program for Raspberry or Windows 10 standalone, I will continue its development.
-
MyNetSensors - Web Controller
I am proud to announce the initial release the MyNetSensors Web Controller.
Since now you can easily create your smart devices and control them over the Internet.
Key features:
Control. The program automatically recognizes nodes and allows to control them through a web interface. It does not require to configure anything.
History. Sensor readings are saved into the database for further analysis in the various graphical views. Also, you can see the statuses of the sensors graphically in real time.
Tasks. Device can perform various actions on a schedule or periodically at a specified interval of time.
Links. You can link devices together. They will react to state changes of each other.
Soft-nodes. You can create software nodes. For example, MyNetSensors have a program that determines the average color of the computer screen and displays the data as node. If you make the link between this node and RGB-backlight, you will get Ambilight.
Remap data. You can programmatically remap states of sensors, for establish interaction between different sensors, or for more accurately sensor tuning.
Debug. With MyNetSensors easy to debug devices. You can observe all nodes technical information, and messages transmitted over the wireless network.
Detailed documentation. On the official website you can find detailed documentation about installing and working with MyNetSensors.
Feedbacks and support. Feel free to email me about new features which you would like to see and I will do my best to implement them.
This software is open source. Code is written in .NET. You can join the development. I'll be glad to answer any question about the internal structure of the program.
For more information please visit MyNetSensors.com.
-
RE: MyNetSensors (closed)
@gbfromhb said:
I have installed your source and have gotten to compile. I may not be able to jump on it right away, but I will see how it goes with Window IoT on Raspberry PI.
How's it going? Got it to run?
-
RE: MyNetSensors (closed)
@ch3b7 said:
what visual studio version? im make a controller in .net with visual studio 2010
VS2015
-
RE: MyNetSensors (closed)
I have not yet had the opportunity to check the work on the Raspberry, but I think it should work. I made a separate class that deals only with the interaction with the serial port. If you would have any problem with the Raspberry, you will only need to rewrite this class. I read about the problems FTDI and Raspberry compatibility. I also had problems with FTDI on PC. It worked on WinForms, but on a Universal App did not work. I tested different Serial-USB converters. Silicon Labs CP210 started to work without problems. FTDI did not want to work. But then randomly started working. I installed the last officially driver.
-
MyNetSensors (closed)
I began to develop .NET controller for MySensors.
Now I have a controller in the form of a Universal Windows App, but you can use libraries for a console application, or for example ASP.NET. I posted the source on github.https://github.com/derwish-pro/MyNetSensors
I'll be glad if you will join the development of this project.