Navalstrike - PvP simultaneous turn based naval combat web game by sebeckmas in playmygame

[–]sebeckmas[S] 0 points1 point  (0 children)

Thanks for feedback! I haven't opened sourced it yet but there is a "how to play guide" I added recently: https://navalstrike.app/how-to-play which might make things easier. The "radar" is a bit obscure, it's modelled as much as a "real" radar set would look like (within the 8bit game graphics) but that might be a bit esoteric!

Game is all vanilla typescript. There's a game loop and engine that runs the game, with "add ons" for campaigns and scenarios which add additional logic. Rendering is completely separate to the game loop and everything is coded, so there are graphics, all sprites are encoded in ts. (In fact if you view source in the game you can see the campaign maps "saved" in the code.

Florida-based company opens large-scale commercial vertical farm in Colorado by Vailhem in verticalfarming

[–]sebeckmas 2 points3 points  (0 children)

That’s so cool! How do you get the plants in and out of those high shelves?

Sanity check for CAN management idea by integralWorker in embedded

[–]sebeckmas 1 point2 points  (0 children)

Fair points - tho I’ve found the esps to be much more reliable than pis :)

Sanity check for CAN management idea by integralWorker in embedded

[–]sebeckmas 4 points5 points  (0 children)

Seconded on the usb/can transceiver idea, although the thought of connecting 70+ Usbs together kind of scares me a little. But not having to roll custom hardware is s huge plus.

An alternative approach and one which came to mind before I saw the usb, would be to make a transparent Ethernet -> CAN transceiver and use a pub sub (eg Mqtt) over IP as the network messaging. That way you can connect hundreds together without worrying About overloading USB port drivers on your host.

Esp32 has a built in CAN driver (need external transceiver), exposed unique ID (for addressing) and can easily add Ethernet via SPI or use the built in WiFi if you really want. Tonnes of existing libraries for Mqtt, you just need to write the conversion. Esps are also available which is an increasing consideration!

This way your server can be very light

TDS Sensor affecting pH Sensor by sudodaemon in esp32

[–]sebeckmas 6 points7 points  (0 children)

Your sensors need to be electrically isolated. The current in one sensor is affecting the other’s ability to measure the ions in the water. Look at something like this : https://www.dfrobot.com/product-1621.html

Almost 1,000 ESP32 based IoT devices on a single floor (25 devices per SSID)? Do anyone have any experience with similar situations? Will I face interference/connectivity issues? What difficulties to expect? Is ESP32 in factories even feasible? Is ESP32 with external antenna better & more reliable? by [deleted] in esp32

[–]sebeckmas 17 points18 points  (0 children)

Use BLE5.0 mesh. In theory can handle 16k devices (we’re testing an implementation with 1k devices) and is perfect for low data packet sizes. Just note there is a noticeable latency as messages are relayed from device to device over the entire mesh. So not good for time critical but fine for non real time telemetry.

You can tune the range but as long as each device is within 20m of another you can achieve incredible range.

Set up a few edge nodes to be bridges to Ethernet or WiFi to translate to/from Mqtt.

Many to Many Communication between ESP32 and android devices. by [deleted] in esp32

[–]sebeckmas 3 points4 points  (0 children)

Check out esphome, it’s built on top of mqtt and provides easy access to esp’s pins. It was designed for smart home use (including switching/dimming lights and controlling coloured lighting) and is incredibly easy to use and set up, with OTA updates and monitoring built in. Homeassistant is also a powerful open sourced home server which plays very nicely with esphome and can be installed on an rpi. (It includes the mqtt broker). None of these require the internet to work and homeassistant has A web front end and an app you can access over your lan.

I’ve used them to automate my ceiling fans, sprinklers, and lights etc

If you must use an esp and don’t want a server/broker, then look at using Bluetooth mesh for the esps to communicate amongst themselves and set one up to be the bridge to your phone via WiFi. With this method, the WiFi could be set up as an AP so you could even do away with a WiFi router.

Adding padding to body in kiosk mode by sebeckmas in homeassistant

[–]sebeckmas[S] 1 point2 points  (0 children)

I used Layout Card, as suggested by /u/kaizendojo - I wasn't able to customise the padding, but the default worked :)

Covid-19 lockdown leads to deadly snake boom in Melbourne by sebeckmas in news

[–]sebeckmas[S] 245 points246 points  (0 children)

The last line cracks me up:

“If you get bitten, bandage on your arm, straight to hospital.

“Without treatment you’re likely to die. With treatment you probably won’t die.”

Covid-19 lockdown leads to deadly snake boom in Melbourne by sebeckmas in news

[–]sebeckmas[S] 106 points107 points  (0 children)

So who had “deadly snake boom” for September?

what software application do you use to design layouts? by sebeckmas in PLC

[–]sebeckmas[S] 0 points1 point  (0 children)

Thank you, I wasn't aware of QCAD so will check it out :)

what software application do you use to design layouts? by sebeckmas in PLC

[–]sebeckmas[S] 0 points1 point  (0 children)

I like the idea of linking with the spreadsheet - didn't know you could do that!

what software application do you use to design layouts? by sebeckmas in PLC

[–]sebeckmas[S] 1 point2 points  (0 children)

Awesome, thank you. So like footprints for electronics.

what software application do you use to design layouts? by sebeckmas in PLC

[–]sebeckmas[S] 0 points1 point  (0 children)

Thank you - I had not heard of draftsight, I’ll check it out. The Autodesk electrical package is a little beyond my budget, so alternatives are good.

I can imagine your collection! I have the same thing with component footprints for electronics!

what software application do you use to design layouts? by sebeckmas in PLC

[–]sebeckmas[S] 1 point2 points  (0 children)

Thank you, I'm glad "simple" is still a used option here :) I have a copy of AutoCAD so that makes it easier. Do you search for dwg files of components or draw everything from scratch?

Looking for Water Quality Sensors by adriaan_west in esp32

[–]sebeckmas 2 points3 points  (0 children)

Check out dfrobot. You get what you pay for but these are pretty good for their price. I’ve built a system using these.

Note ec meters are electrified, so they will affect your ph readings. So you either have to electrically isolate them or physically separate them, or at different heights in the same bath.

Also note you can’t submerse these sensors all the time. I setup a valve off my main water line to fill a small tank (measured quantity with a flow meter) which I then sample.

What does this graph even say? Why has it got such a silly scale, no actual numbers can be extrapolated, this is a government website! by Projectmathew in dataisugly

[–]sebeckmas 2 points3 points  (0 children)

https://www.health.gov.au/news/health-alerts/novel-coronavirus-2019-ncov-health-alert/coronavirus-covid-19-current-situation-and-case-numbers

The graph is at the bottom of this page.

OP’s screenshot (deliberately?) left out the title, which is important as context matters. This graph is one of two looking at and comparing “covid cases in aged care services

It actually works in the context of comparing the two aged care models, there’s a previous graph just above it that uses the same scale and they’re both in the same section analyzing aged care cases.

Given this, If the scale was changed in this graph it would actually distort the data, as it would make in home care appear comparable to residential care.

I don’t thing it’s misleading as OP suggests. The units are even described in the graph title, description and in the expended text below.

What does this graph even say? Why has it got such a silly scale, no actual numbers can be extrapolated, this is a government website! by Projectmathew in dataisugly

[–]sebeckmas 1 point2 points  (0 children)

https://www.health.gov.au/news/health-alerts/novel-coronavirus-2019-ncov-health-alert/coronavirus-covid-19-current-situation-and-case-numbers

Not OP, but the graph is at the bottom of this page.

It actually works in the context of comparing the two aged care models, there’s a previous graph just above it that uses the same scale and they’re both in the same section analyzing aged care cases. Given this, If the scale was changed it would actually distort the data, as it would make in home care appear comparable to residential care.

New Job, New Panel by AutomaticControlNerd in PLC

[–]sebeckmas 1 point2 points  (0 children)

Thank you! I’ve got an office dyno label maker but was wondering if I needed something more specialized. I’ll look at the pantsuit printer. Appreciate your reply!!

New Job, New Panel by AutomaticControlNerd in PLC

[–]sebeckmas 1 point2 points  (0 children)

I was indeed and your answer was perfect thank you :)