Bacnet on Raspberry Pi - raspberry-pi

Currently I am working on simulation of SCADA system using bacnet protocol for network communication with my Raspberrry Pi for my final year project.
Current status: Raspberry Pi 2 able to run openplc (act like PLC)
done installing ScadaBR (act like SCADA system)
Current issue: How would I implement bacnet protocol for data link to make connection between both Raspberry Pi and my workstation?
I tried to research on bacnet stack protocol, implement some opensource but there is no luck. But I using the demo of youtube video (http://www.youtube.com/watch?v=0TJIrnAPsw4).
It making raspberry pi act as a bacnet server. the code is working perfectly. How can I find a bacnet protocol (client version) running on my Raspberry Pi.
here are some question I unable to source:
Which bacnet stack able to control the bacnet communication between PLC (Raspberry Pi) and ScadaBR?
How Raspberry Pi (openPLC preinstalled) communicate with ScadaBR?
use which bacnet stack to implement both workstation.

The BACpypes library is written Python and runs on a variety of platforms, if you still have some time before the end of the term for your final project, contact me (the author) and maybe we can make something work. I see that your question is tagged with Java, but maybe you have other options.

Related

Is there a arm64 build

I am using a raspberry pi and I am trying to do a project where I want to turn my Raspberry pi 4 into a development machine to write spring boot applications for API development so far it has been a success. But to test the API I use curl. I need a GUI client So I came across Advanced rest client. if there is an arm build that will be awesome. Or if I have to build from scratch I can do that on my raspberry pi. But I need to know the build process. If anyone can point to to any documentation or readme that will be great.
I think the source is at :
https://github.com/advanced-rest-client/arc-electron

Can I use ESP8266 with edgeSDK?

I've started testing edgeSDK in a prototype IOT environment.
The idea is to connect devices with sensors and other nodes (Raspberry Pi, ESP8266, macOS, etc.) and exchange data or messages between them on the edge, trying to avoid communicating through the cloud.
(I will be also "mirroring" this exchanges in an AWS central cloud environment, to establish some comparisons/evaluations).
At this point, I have edgeSDK running on macOS and the Raspberry Pi and would like to add ESP8266 into the mix.
My Question is:
Can I get ESP8266 to work with edgeSDK? I don't see it listed as a supported platform.
If yes, which OS? (I was thinking about Mongoose, keeping the JavaScript coding and follow the standard).
Any other comments/suggestions or similar references would be very welcome!
ESP8266 is a microcontroller, which edgeSDK does not support. However, you can run a RESTFul API client on ESP8266 to call a API served by a microservice hosted by edgeSDK on a Raspberry Pi for example.

How to emulate BACnet communication protocol on raspberry pi stacks

I am currently working on my senior design project. I have made the stack of raspberry pi's. I am just wondering on how to create a BACnet stack where each raspberry pi device is a unique device, with a unique device ID. Additionally, we plan to use a cisco switch to connect with other raspberry pi stacks. I understand that there is a bacpypes module, which is amazing but it is mainly for dealing with a bacnet device. In my scenario, I need to create a stack of raspberry pi's emulating the BACnet communication protocol.
It would be really helpful
Quickest way:
Compile Steve Karg's BACnet stack by following this: "How to build a FOSS BACnet Server based on Steve Karg’s SourceForge project" on the BITS blog.
Run the BACnet SErver sample executable on each of your Pis:
cd /demo/server
./bacserv
May I suggest trying BAC0, a python implementation of BACnet.
BAC0 is a high level wrapper around bacpypes. And when launched, becomes a BACnet device on any network.
https://github.com/ChristianTremblay/BAC0
https://bac0.readthedocs.io/en/latest/

My Internet interferes with external device

I am interfacing with some external hardware (can't disclose much details on hardware) and I am using Ethernet cable to talk to external hardware boards. I have windows 7 on my machine. In between the external hardware and my PC, I have a small ethernet hub that communicates with multiple circuit boards of my external hardware.
Also, in order to get internet connection on my PC, I am using a USB2Ethernet adapter which provides me the internet connectivity.
The problem I am having is that whenever PC is connected to internet, certain test that I run on the external hardware do not work. If I dicsonnect the internet cable, then my external hardware works fine and I can do my testing.
I have disabled the USB2Ethernet through device manager and (I get no internet) and tried to run the test and my hardware doesnt work.
Has anyone encounter a problem like this and if so, what would be an ideal solution? Any help would be greately appreciated.
Please feel free to contact for any other information related to the problem if I haven't explained it well.

does azure notification hub work with raspberry pi?

I'm hoping that I can catch some smart raspberry pi hobbyist out there. I am wanting to use azure notification hub to push messages out to a raspberry pi. I'm wondering what options are available and the pro/con of each approach.
I know that with the pi, I can easily run python scripts. Can I use python to register and receive the notifications? or am I looking at something more esoteric like mono or java?
Notification Hubs does not currently support Push messaging TO Raspberry Pi devices. Azure Notification Hubs currently supports Push notifications through many of the major PNS providers (Google, Apple, Amazon, Windows) and continues to expand it's coverage of those push services. When/If the Raspberry Pi
However, if you want to trigger a push notification to a mobile device from the Raspberry Pi, there are a set of REST APIs that are available that you should be able to call from your language of choice. You can find more details on the REST APIs at this MSDN page