The Orange Bandits’ operation center is need for a mechanism to track vehicles to get more insights about ongoing looting operations. A raspberry pi with a tracking device is the first solution that comes in mind!
Though, this is not a straightforward solution. Some Python code is due at this point. Unfortunately, The Orange Bandits owns an old Raspberry pi with an old SD card that doesn’t tolerate new updates; not retro enough! Well, we had to use an old version of Python to get this to work!
Embedding a device that flip bytes is not an easy ride. We need to come with innovative ways to to keep it online and to keep the GPS tracker in the “Chinese” satellite signal range!
This post demonstrates how you can connect different hardware with logic to create good vibes🎵
We have a proximity sensor that speaks Zigbee. It is a “boolean” with the statuses of Open or Closed.
The proximity sensor is then connected to a Raspberry PI that is running software to interpret the signals sent from the proximity sensor.
The raspberry pi is then connected to the Sonos, and each proximity sensor distributed around the area will have its own songs playing when you trigger them.
Based on the excelent suggestions from the Judges, we have: Wierd Al Yankovic, Motorhead and Less than Jake👏🎵😂
When you are a pirate, it is pretty usefull to know what kind of weather it is, right? And, when you first have your own Awesome Pirate Corp. app, this information should of course be available here (we know, it’s cold to be a Norwegain Pirate right now!):
To do this, we created a flow that gets your location data when you use the PowerApp, goes out and gets the weather where you are, and pushes it back to the PowerApp to show you:
When we need to merge things together, what could be easier than using Power Automate. We have seen that there is a need for visual warning on board ships to be ready if pirates are coming.
Therefore, we have connected a Zigbee light chain to a Philips Hue base, on which we use a Power Automate flow to activate a red alarm light. This is done by calling an endpoint with ALERT in the body. When the coast is clear again, we can send a “no danger” message and the light will return to green. It is solved by calling the same endpoint with CLEAR.
To make this work, we have connected a Raspberry Pi to the same local network as Philips Hue. We have used a Philips Hue connector from an independent developer. Fine with everything that is ready-made from 3rd parties 😃
We created an app for customers that are unsure about the size of their homes. Now they could open our app, use the camera to pin a couple points to the floor in augmented reality, and get square meters calculated. You also get yearly consumption based on square meters.
We have collected and processed electricity prices and weather from the last couple of years and as of that, we have embedded all these data sources in PowerBI to illustrate how the prices have changed and how the weather has changed with it.
Turtles HQ was in dire need of a solid security system. Being in the sewage system underground they decided that tripwires was the absolute best way to achieve wanted level of security.
When the magnet is tripped/removed (white item on right side of picture, a signal is sent to Raspberry PI that starts a flow. This is a on/off trigger.
If the Trap step notices a change, the node is checked for status on/off. If is is ON, it will call the service that activates full alarms for the Turtles HQ. Alarms visual and audio are full blast.
Pizza Order
The Pizza delivery has also been equipped with sensors that notify when a pizza has been delivered. When the pizza has arrived at the spot, a signal is sent via Zigbee to raspberry pi, and from here it changes the light to Green for a successful delivery.
Nå har vi bygget videre og kommet opp med et mye mer robust kjøleskap. Flytteesker kan brukes til så mangt 😎 Fortsatt en del testing med forskjellige frukter (man tager hva man haver). Responsen er så som så, men vi er på god vei. Klementin ble tidligere eple (ref. https://acdc.blog/in2022/kjoleskapet-kan-se/), nå er appelsin appelsin, og eple er eple 🎉
Oppsettet er som følger: Webkamera montert i kjøleskapsdør, koblet til Raspberry PI. Arduino med knapp (les mye frustrasjon med KNAPP!!!!) som trigger kamerabilde ved åpning av kjøleskapsdør. Arduino styrer i tillegg en trinnmotor som spinner en kul 3D-printet bling på toppen av kjøleskapet (bling kommer, men se bilde). Alt på Arduino styres av den samme Raspberry PI’en ved hjelp av Python. Når bilde er tatt, sendes det til Azure Cognitive services for analyse, og responsen kommer som oppdagede objekter. Deretter matcher vi dette med vår egen ingrediensdatabase i Dataverse via en Power Automate flow (kjøres via en HTTP request trigger i flowen) som oppdaterer ingredienser med attributtet “In fridge” = True/False.
Bildet under viser flowen som trigges fra kjøleskaps-raspberryen. Deretter oppdateres status på hva vi har i kjøleskapet. Dette er deilig å slippe og gjøre manuelt.
Her har vi integrert rubbel og bit, og det fungerer!
Det vi frykter nå er at maskinene skal vende seg mot oss, og si at kjøleskapet er tomt til en hver tid. Da kan vi risikere å sulte i hjel foran kjøleskapsdøren. Men inntil videre velger vi å stole på vår kjære Fridgitoid 9000
Our sensor-rig has been deployed to several locations throughout the Oslofjord! A typical day goes by without incident. But today our sensors detect MUTANT-activity.
Combining light-, sound-, moisture- and airqaulity sensors, sonar, and atmospheric measurements we can safely determine a new threat has appeared. We post this through our cloud rig which will alert our intrepid reptiles! (Donatello is such an oldschool guy that he recieves smses to his old mobile phone, which is not of the smart-kind).
The cloud rig is an azurefunction which is connected to an EventHub which pushes our messages through to Dataverse, which then posts a snappy alert to Teams with the help of PowerAutomate.
Our sensors also display a summary of threatassesment on the local rig, to avoid a technician doing maintenance and is suddenly caught unawares by the new mutant.
The backend for the end-user mobile app (.NET MAUI) is integrating with Dynamics 365 via MS Dynamics Web API, to create SOS alerts and get status updates.
The backend for the Turtle back-office (Blazor web app) is communicating with Azure via MS Graph API to programatically create Azure AD users.
Both backends are retrieving access tokens for MS APIs using MS OAuth API.
The Turtle code-base (GitHub) is configured to automatically post events to Discord, such as commits and releases.